diff options
author | David Robillard <d@drobilla.net> | 2018-08-19 17:47:51 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-29 14:49:34 +0200 |
commit | 864a0cab22998cfd465f3dd2f0514f96c907ed95 (patch) | |
tree | 7e826e910dfa2b574654a5deba8fc1ece4b400e8 /test/test_hilbert.cpp | |
parent | 601c2080e9667ba686e39823c1ebd58844550002 (diff) | |
download | chilbert-864a0cab22998cfd465f3dd2f0514f96c907ed95.tar.gz chilbert-864a0cab22998cfd465f3dd2f0514f96c907ed95.tar.bz2 chilbert-864a0cab22998cfd465f3dd2f0514f96c907ed95.zip |
Add BoundedBitVec
Diffstat (limited to 'test/test_hilbert.cpp')
-rw-r--r-- | test/test_hilbert.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test/test_hilbert.cpp b/test/test_hilbert.cpp index 3abcdd5..ad99454 100644 --- a/test/test_hilbert.cpp +++ b/test/test_hilbert.cpp @@ -19,9 +19,10 @@ #include "test_utils.hpp" +#include "chilbert/BoundedBitVec.hpp" #include "chilbert/DynamicBitVec.hpp" -#include "chilbert/SmallBitVec.hpp" #include "chilbert/Hilbert.hpp" +#include "chilbert/SmallBitVec.hpp" #include "chilbert/StaticBitVec.hpp" #include <gmpxx.h> @@ -194,6 +195,17 @@ main() test_standard<chilbert::StaticBitVec<32 * 64>, 32, 64>(ctx); test_standard<chilbert::StaticBitVec<63 * 128>, 63, 128>(ctx); + test_standard<chilbert::BoundedBitVec<4 * 2>, 4, 2>(ctx); + test_standard<chilbert::BoundedBitVec<32 * 2>, 32, 2>(ctx); + test_standard<chilbert::BoundedBitVec<16 * 4>, 16, 4>(ctx); + test_standard<chilbert::BoundedBitVec<8 * 8>, 8, 8>(ctx); + test_standard<chilbert::BoundedBitVec<4 * 16>, 4, 16>(ctx); + test_standard<chilbert::BoundedBitVec<2 * 32>, 2, 32>(ctx); + test_standard<chilbert::BoundedBitVec<1 * 64>, 1, 64>(ctx); + test_standard<chilbert::BoundedBitVec<4 * 128>, 4, 65>(ctx); + test_standard<chilbert::BoundedBitVec<32 * 128>, 32, 64>(ctx); + test_standard<chilbert::BoundedBitVec<63 * 128>, 63, 128>(ctx); + test_compact<chilbert::SmallBitVec, 4, 2>(ctx); test_compact<chilbert::SmallBitVec, 32, 2>(ctx); test_compact<chilbert::SmallBitVec, 16, 4>(ctx); |