aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_gray_code_rank.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_gray_code_rank.cpp')
-rw-r--r--test/test_gray_code_rank.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test_gray_code_rank.cpp b/test/test_gray_code_rank.cpp
index ed31d44..0c06a33 100644
--- a/test/test_gray_code_rank.cpp
+++ b/test/test_gray_code_rank.cpp
@@ -19,6 +19,7 @@
#include "test_utils.hpp"
+#include "chilbert/BoundedBitVec.hpp"
#include "chilbert/DynamicBitVec.hpp"
#include "chilbert/GrayCodeRank.hpp"
#include "chilbert/SmallBitVec.hpp"
@@ -148,5 +149,15 @@ main()
test<chilbert::StaticBitVec<65>, 96, 65>(ctx);
test<chilbert::StaticBitVec<997>, 1024, 997>(ctx);
+ test<chilbert::BoundedBitVec<1>, 64, 1>(ctx);
+ test<chilbert::BoundedBitVec<31>, 64, 31>(ctx);
+ test<chilbert::BoundedBitVec<32>, 64, 32>(ctx);
+ test<chilbert::BoundedBitVec<64>, 64, 33>(ctx);
+ test<chilbert::BoundedBitVec<64>, 64, 60>(ctx);
+ test<chilbert::BoundedBitVec<64>, 64, 64>(ctx);
+ test<chilbert::BoundedBitVec<128>, 96, 65>(ctx);
+ test<chilbert::BoundedBitVec<997>, 1024, 997>(ctx);
+ test<chilbert::BoundedBitVec<2048>, 1024, 997>(ctx);
+
return 0;
}