aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_bitvec.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-19 17:47:51 +0200
committerDavid Robillard <d@drobilla.net>2018-09-29 14:49:34 +0200
commit864a0cab22998cfd465f3dd2f0514f96c907ed95 (patch)
tree7e826e910dfa2b574654a5deba8fc1ece4b400e8 /test/test_bitvec.cpp
parent601c2080e9667ba686e39823c1ebd58844550002 (diff)
downloadchilbert-864a0cab22998cfd465f3dd2f0514f96c907ed95.tar.gz
chilbert-864a0cab22998cfd465f3dd2f0514f96c907ed95.tar.bz2
chilbert-864a0cab22998cfd465f3dd2f0514f96c907ed95.zip
Add BoundedBitVec
Diffstat (limited to 'test/test_bitvec.cpp')
-rw-r--r--test/test_bitvec.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test_bitvec.cpp b/test/test_bitvec.cpp
index ffdf823..1596042 100644
--- a/test/test_bitvec.cpp
+++ b/test/test_bitvec.cpp
@@ -19,6 +19,7 @@
#include "test_utils.hpp"
+#include "chilbert/BoundedBitVec.hpp"
#include "chilbert/DynamicBitVec.hpp"
#include "chilbert/SmallBitVec.hpp"
#include "chilbert/StaticBitVec.hpp"
@@ -359,5 +360,16 @@ main()
test<chilbert::StaticBitVec<65>, 65>(ctx);
test<chilbert::StaticBitVec<997>, 997>(ctx);
+ test<chilbert::BoundedBitVec<0>, 0>(ctx);
+ test<chilbert::BoundedBitVec<1>, 1>(ctx);
+ test<chilbert::BoundedBitVec<31>, 31>(ctx);
+ test<chilbert::BoundedBitVec<32>, 32>(ctx);
+ test<chilbert::BoundedBitVec<64>, 33>(ctx);
+ test<chilbert::BoundedBitVec<64>, 63>(ctx);
+ test<chilbert::BoundedBitVec<64>, 64>(ctx);
+ test<chilbert::BoundedBitVec<128>, 65>(ctx);
+ test<chilbert::BoundedBitVec<997>, 997>(ctx);
+ test<chilbert::BoundedBitVec<2048>, 997>(ctx);
+
return 0;
}