From 848de8f1df561f4253f754ec3f2415e541071420 Mon Sep 17 00:00:00 2001 From: Pravin Kumarvel Date: Fri, 2 Dec 2016 15:13:03 +0530 Subject: Add function to get uninterrupted bit run Function bitvec_rl_curbit added to get number of uninterrupted bits run in vector starting from the current bit till max number of bits. Test case is added to check bitvec_rl_curbit. Change-Id: Iae153d3639ea6b891c1fc10d7801a435c9492e26 --- tests/bitvec/bitvec_test.ok | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/bitvec/bitvec_test.ok') diff --git a/tests/bitvec/bitvec_test.ok b/tests/bitvec/bitvec_test.ok index e2561089..62819736 100644 --- a/tests/bitvec/bitvec_test.ok +++ b/tests/bitvec/bitvec_test.ok @@ -166,4 +166,6 @@ bits: 17, est: 1153, real: 1153, x: 0, y: 0 ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ ........ +bitvec_runlength.... + bitvec ok. -- cgit v1.2.3