aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bitvec/bitvec_test.ok
diff options
context:
space:
mode:
authorPravin Kumarvel <pmanohar@radisys.com>2016-12-02 15:13:03 +0530
committerHarald Welte <laforge@gnumonks.org>2017-01-06 10:37:42 +0000
commit848de8f1df561f4253f754ec3f2415e541071420 (patch)
treee0d2286ddcbb19791fedc1dd28cbc2609c7b85b4 /tests/bitvec/bitvec_test.ok
parent592fcc97c004b7e3e84ed6960ea9989157c94f75 (diff)
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
Diffstat (limited to 'tests/bitvec/bitvec_test.ok')
-rw-r--r--tests/bitvec/bitvec_test.ok2
1 files changed, 2 insertions, 0 deletions
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.