| 19 | }; |
| 20 | |
| 21 | static void assertBytes(const Bytes& want, const Bytes& got) |
| 22 | { |
| 23 | if (want != got) |
| 24 | { |
| 25 | std::cout << "Wanted bytes:" << std::endl; |
| 26 | hexdump(std::cout, want); |
| 27 | std::cout << std::endl << "Produced bytes:" << std::endl; |
| 28 | hexdump(std::cout, got); |
| 29 | abort(); |
| 30 | } |
| 31 | } |
| 32 | static void test_getset() |
| 33 | { |
| 34 | LDBS ldbs; |