diff options
author | David Robillard <d@drobilla.net> | 2018-08-19 16:27:07 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-29 14:48:53 +0200 |
commit | fa3d8f677b6a30c2115e7d167d4938e293dfad81 (patch) | |
tree | 052d5eb0bb3bad3e415d0f967ddfd96b65d5b06d /test/test_gray_code_rank.cpp | |
parent | b5954ef2de4f205108be0cf5a06f88540194bed9 (diff) | |
download | chilbert-fa3d8f677b6a30c2115e7d167d4938e293dfad81.tar.gz chilbert-fa3d8f677b6a30c2115e7d167d4938e293dfad81.tar.bz2 chilbert-fa3d8f677b6a30c2115e7d167d4938e293dfad81.zip |
Add StaticBitVec type
Diffstat (limited to 'test/test_gray_code_rank.cpp')
-rw-r--r-- | test/test_gray_code_rank.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_gray_code_rank.cpp b/test/test_gray_code_rank.cpp index a421159..8be40f1 100644 --- a/test/test_gray_code_rank.cpp +++ b/test/test_gray_code_rank.cpp @@ -22,6 +22,7 @@ #include "chilbert/BigBitVec.hpp" #include "chilbert/FixBitVec.hpp" #include "chilbert/GrayCodeRank.hpp" +#include "chilbert/StaticBitVec.hpp" #include <algorithm> #include <array> @@ -138,5 +139,14 @@ main() test<chilbert::CBigBitVec, 96, 65>(ctx); test<chilbert::CBigBitVec, 1024, 997>(ctx); + test<chilbert::StaticBitVec<1>, 64, 1>(ctx); + test<chilbert::StaticBitVec<31>, 64, 31>(ctx); + test<chilbert::StaticBitVec<32>, 64, 32>(ctx); + test<chilbert::StaticBitVec<33>, 64, 33>(ctx); + test<chilbert::StaticBitVec<60>, 64, 60>(ctx); + test<chilbert::StaticBitVec<64>, 64, 64>(ctx); + test<chilbert::StaticBitVec<65>, 96, 65>(ctx); + test<chilbert::StaticBitVec<997>, 1024, 997>(ctx); + return 0; } |