15TEST_CASE(
"small parse test",
"[small_parse_test]") {
18 wasm_code error = { 0x01, 0x61, 0x73, 0x6D, 0x01, 0x00, 0x00, 0x00 };
20 auto n = bp.parse_magic( error_ptr );
21 CHECK(n != constants::magic);
22 wasm_code correct = { 0x00, 0x61, 0x73, 0x6D, 0x01, 0x00, 0x00, 0x00 };
24 n = bp.parse_magic( correct_ptr );
25 CHECKL(n == constants::magic);