From d2de1d9a704fc4b23e9a9fb8d610620d6d4752c1 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 27 Jul 2018 17:30:05 -0400 Subject: fix bit operation bugs in Bits --- test/test_stream.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/test_stream.cpp b/test/test_stream.cpp index c9fccac..7128a9a 100644 --- a/test/test_stream.cpp +++ b/test/test_stream.cpp @@ -77,5 +77,9 @@ int main() { Bits d(std::move(c)); printf("%s\n", get_hex(b).c_str()); print(b, b.size()); + Bits e(4); + e.set(0); + e.set(1); + print(e, e.size()); return 0; } -- cgit v1.2.3