| 17 | namespace { |
| 18 | |
| 19 | void test_equal(const std::vector<uint8_t>& v, const std::vector<uint8_t>& expected) |
| 20 | { |
| 21 | REQUIRE(v.size() == expected.size()); |
| 22 | |
| 23 | for (std::size_t i = 0; i < v.size(); ++i) |
| 24 | { |
| 25 | CHECK(v[i] == expected[i]); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | void check_equal(const std::vector<uint8_t>& v, const std::vector<uint8_t>& expected) |
| 30 | { |