diff options
Diffstat (limited to 'test/test_bitvec.cpp')
-rw-r--r-- | test/test_bitvec.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_bitvec.cpp b/test/test_bitvec.cpp index 1596042..bd944b5 100644 --- a/test/test_bitvec.cpp +++ b/test/test_bitvec.cpp @@ -252,13 +252,13 @@ test_gray_code(Context& ctx) { const T v = make_random_bitvec<T, N>(ctx); T r = v; - gray_code(r); + chilbert::detail::gray_code(r); if (N > 0) { assert(N == 1 || r == (v ^ (v >> 1))); T s = r; - gray_code_inv(s); + chilbert::detail::gray_code_inv(s); assert(s == v); } } @@ -271,11 +271,11 @@ test_comparison(Context&) T b = make_zero_bitvec<T, N>(); for (size_t bit = 1; bit < N; ++bit) { - set_bit(a, bit, 1); + chilbert::detail::set_bit(a, bit, 1); for (size_t i = 0; i < bit; ++i) { - set_bit(a, i, rand() % 2 == 0); - set_bit(b, i, rand() % 2 == 0); + chilbert::detail::set_bit(a, i, rand() % 2 == 0); + chilbert::detail::set_bit(b, i, rand() % 2 == 0); } assert(b < a); |