{"type":"module","line":3,"filename":"br_table.0.wasm"}
loaded
{"type":"assert_return","line":1007,"action":{"type":"invoke","field":"type-i32"}}
(assert_return (invoke "type-i32"))
ok, result
{"type":"assert_return","line":1008,"action":{"type":"invoke","field":"type-i64"}}
(assert_return (invoke "type-i64"))
ok, result
{"type":"assert_return","line":1009,"action":{"type":"invoke","field":"type-f32"}}
(assert_return (invoke "type-f32"))
ok, result
{"type":"assert_return","line":1010,"action":{"type":"invoke","field":"type-f64"}}
(assert_return (invoke "type-f64"))
ok, result
{"type":"assert_return","line":1012,"action":{"type":"invoke","field":"type-i32-value"},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "type-i32-value") (i32.const 1))
ok, result
{"type":"assert_return","line":1013,"action":{"type":"invoke","field":"type-i64-value"},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "type-i64-value") (i64.const 2))
ok, result
{"type":"assert_return","line":1014,"action":{"type":"invoke","field":"type-f32-value"},"expected":[{"type":"f32","value":"1077936128"}]}
(assert_return (invoke "type-f32-value") (f32.const 3))
ok, result
{"type":"assert_return","line":1015,"action":{"type":"invoke","field":"type-f64-value"},"expected":[{"type":"f64","value":"4616189618054758400"}]}
(assert_return (invoke "type-f64-value") (f64.const 4))
error, wrong result, expected 4616189618054758400, got 4160
{"type":"assert_return","line":1017,"action":{"type":"invoke","field":"empty","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"22"}]}
(assert_return (invoke "empty" (i32.const 0)) (i32.const 22))
ok, result
{"type":"assert_return","line":1018,"action":{"type":"invoke","field":"empty","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"22"}]}
(assert_return (invoke "empty" (i32.const 1)) (i32.const 22))
ok, result
{"type":"assert_return","line":1019,"action":{"type":"invoke","field":"empty","args":[{"type":"i32","value":"11"}]},"expected":[{"type":"i32","value":"22"}]}
(assert_return (invoke "empty" (i32.const 11)) (i32.const 22))
ok, result
{"type":"assert_return","line":1020,"action":{"type":"invoke","field":"empty","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"22"}]}
(assert_return (invoke "empty" (i32.const -1)) (i32.const 22))
ok, result
{"type":"assert_return","line":1021,"action":{"type":"invoke","field":"empty","args":[{"type":"i32","value":"4294967196"}]},"expected":[{"type":"i32","value":"22"}]}
(assert_return (invoke "empty" (i32.const -100)) (i32.const 22))
ok, result
{"type":"assert_return","line":1022,"action":{"type":"invoke","field":"empty","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"22"}]}
(assert_return (invoke "empty" (i32.const 0xffffffff)) (i32.const 22))
ok, result
{"type":"assert_return","line":1024,"action":{"type":"invoke","field":"empty-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "empty-value" (i32.const 0)) (i32.const 33))
ok, result
{"type":"assert_return","line":1025,"action":{"type":"invoke","field":"empty-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "empty-value" (i32.const 1)) (i32.const 33))
ok, result
{"type":"assert_return","line":1026,"action":{"type":"invoke","field":"empty-value","args":[{"type":"i32","value":"11"}]},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "empty-value" (i32.const 11)) (i32.const 33))
ok, result
{"type":"assert_return","line":1027,"action":{"type":"invoke","field":"empty-value","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "empty-value" (i32.const -1)) (i32.const 33))
ok, result
{"type":"assert_return","line":1028,"action":{"type":"invoke","field":"empty-value","args":[{"type":"i32","value":"4294967196"}]},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "empty-value" (i32.const -100)) (i32.const 33))
ok, result
{"type":"assert_return","line":1029,"action":{"type":"invoke","field":"empty-value","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "empty-value" (i32.const 0xffffffff)) (i32.const 33))
ok, result
{"type":"assert_return","line":1031,"action":{"type":"invoke","field":"singleton","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"22"}]}
(assert_return (invoke "singleton" (i32.const 0)) (i32.const 22))
ok, result
{"type":"assert_return","line":1032,"action":{"type":"invoke","field":"singleton","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"20"}]}
(assert_return (invoke "singleton" (i32.const 1)) (i32.const 20))
ok, result
{"type":"assert_return","line":1033,"action":{"type":"invoke","field":"singleton","args":[{"type":"i32","value":"11"}]},"expected":[{"type":"i32","value":"20"}]}
(assert_return (invoke "singleton" (i32.const 11)) (i32.const 20))
ok, result
{"type":"assert_return","line":1034,"action":{"type":"invoke","field":"singleton","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"20"}]}
(assert_return (invoke "singleton" (i32.const -1)) (i32.const 20))
ok, result
{"type":"assert_return","line":1035,"action":{"type":"invoke","field":"singleton","args":[{"type":"i32","value":"4294967196"}]},"expected":[{"type":"i32","value":"20"}]}
(assert_return (invoke "singleton" (i32.const -100)) (i32.const 20))
ok, result
{"type":"assert_return","line":1036,"action":{"type":"invoke","field":"singleton","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"20"}]}
(assert_return (invoke "singleton" (i32.const 0xffffffff)) (i32.const 20))
ok, result
{"type":"assert_return","line":1038,"action":{"type":"invoke","field":"singleton-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"32"}]}
(assert_return (invoke "singleton-value" (i32.const 0)) (i32.const 32))
ok, result
{"type":"assert_return","line":1039,"action":{"type":"invoke","field":"singleton-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "singleton-value" (i32.const 1)) (i32.const 33))
ok, result
{"type":"assert_return","line":1040,"action":{"type":"invoke","field":"singleton-value","args":[{"type":"i32","value":"11"}]},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "singleton-value" (i32.const 11)) (i32.const 33))
ok, result
{"type":"assert_return","line":1041,"action":{"type":"invoke","field":"singleton-value","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "singleton-value" (i32.const -1)) (i32.const 33))
ok, result
{"type":"assert_return","line":1042,"action":{"type":"invoke","field":"singleton-value","args":[{"type":"i32","value":"4294967196"}]},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "singleton-value" (i32.const -100)) (i32.const 33))
ok, result
{"type":"assert_return","line":1043,"action":{"type":"invoke","field":"singleton-value","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "singleton-value" (i32.const 0xffffffff)) (i32.const 33))
ok, result
{"type":"assert_return","line":1045,"action":{"type":"invoke","field":"multiple","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"103"}]}
(assert_return (invoke "multiple" (i32.const 0)) (i32.const 103))
ok, result
{"type":"assert_return","line":1046,"action":{"type":"invoke","field":"multiple","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"102"}]}
(assert_return (invoke "multiple" (i32.const 1)) (i32.const 102))
ok, result
{"type":"assert_return","line":1047,"action":{"type":"invoke","field":"multiple","args":[{"type":"i32","value":"2"}]},"expected":[{"type":"i32","value":"101"}]}
(assert_return (invoke "multiple" (i32.const 2)) (i32.const 101))
ok, result
{"type":"assert_return","line":1048,"action":{"type":"invoke","field":"multiple","args":[{"type":"i32","value":"3"}]},"expected":[{"type":"i32","value":"100"}]}
(assert_return (invoke "multiple" (i32.const 3)) (i32.const 100))
ok, result
{"type":"assert_return","line":1049,"action":{"type":"invoke","field":"multiple","args":[{"type":"i32","value":"4"}]},"expected":[{"type":"i32","value":"104"}]}
(assert_return (invoke "multiple" (i32.const 4)) (i32.const 104))
ok, result
{"type":"assert_return","line":1050,"action":{"type":"invoke","field":"multiple","args":[{"type":"i32","value":"5"}]},"expected":[{"type":"i32","value":"104"}]}
(assert_return (invoke "multiple" (i32.const 5)) (i32.const 104))
ok, result
{"type":"assert_return","line":1051,"action":{"type":"invoke","field":"multiple","args":[{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"104"}]}
(assert_return (invoke "multiple" (i32.const 6)) (i32.const 104))
ok, result
{"type":"assert_return","line":1052,"action":{"type":"invoke","field":"multiple","args":[{"type":"i32","value":"10"}]},"expected":[{"type":"i32","value":"104"}]}
(assert_return (invoke "multiple" (i32.const 10)) (i32.const 104))
ok, result
{"type":"assert_return","line":1053,"action":{"type":"invoke","field":"multiple","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"104"}]}
(assert_return (invoke "multiple" (i32.const -1)) (i32.const 104))
ok, result
{"type":"assert_return","line":1054,"action":{"type":"invoke","field":"multiple","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"104"}]}
(assert_return (invoke "multiple" (i32.const 0xffffffff)) (i32.const 104))
ok, result
{"type":"assert_return","line":1056,"action":{"type":"invoke","field":"multiple-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"213"}]}
(assert_return (invoke "multiple-value" (i32.const 0)) (i32.const 213))
ok, result
{"type":"assert_return","line":1057,"action":{"type":"invoke","field":"multiple-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"212"}]}
(assert_return (invoke "multiple-value" (i32.const 1)) (i32.const 212))
ok, result
{"type":"assert_return","line":1058,"action":{"type":"invoke","field":"multiple-value","args":[{"type":"i32","value":"2"}]},"expected":[{"type":"i32","value":"211"}]}
(assert_return (invoke "multiple-value" (i32.const 2)) (i32.const 211))
ok, result
{"type":"assert_return","line":1059,"action":{"type":"invoke","field":"multiple-value","args":[{"type":"i32","value":"3"}]},"expected":[{"type":"i32","value":"210"}]}
(assert_return (invoke "multiple-value" (i32.const 3)) (i32.const 210))
ok, result
{"type":"assert_return","line":1060,"action":{"type":"invoke","field":"multiple-value","args":[{"type":"i32","value":"4"}]},"expected":[{"type":"i32","value":"214"}]}
(assert_return (invoke "multiple-value" (i32.const 4)) (i32.const 214))
ok, result
{"type":"assert_return","line":1061,"action":{"type":"invoke","field":"multiple-value","args":[{"type":"i32","value":"5"}]},"expected":[{"type":"i32","value":"214"}]}
(assert_return (invoke "multiple-value" (i32.const 5)) (i32.const 214))
ok, result
{"type":"assert_return","line":1062,"action":{"type":"invoke","field":"multiple-value","args":[{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"214"}]}
(assert_return (invoke "multiple-value" (i32.const 6)) (i32.const 214))
ok, result
{"type":"assert_return","line":1063,"action":{"type":"invoke","field":"multiple-value","args":[{"type":"i32","value":"10"}]},"expected":[{"type":"i32","value":"214"}]}
(assert_return (invoke "multiple-value" (i32.const 10)) (i32.const 214))
ok, result
{"type":"assert_return","line":1064,"action":{"type":"invoke","field":"multiple-value","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"214"}]}
(assert_return (invoke "multiple-value" (i32.const -1)) (i32.const 214))
ok, result
{"type":"assert_return","line":1065,"action":{"type":"invoke","field":"multiple-value","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"214"}]}
(assert_return (invoke "multiple-value" (i32.const 0xffffffff)) (i32.const 214))
ok, result
{"type":"assert_return","line":1067,"action":{"type":"invoke","field":"large","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "large" (i32.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":1068,"action":{"type":"invoke","field":"large","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "large" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":1069,"action":{"type":"invoke","field":"large","args":[{"type":"i32","value":"100"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "large" (i32.const 100)) (i32.const 0))
ok, result
{"type":"assert_return","line":1070,"action":{"type":"invoke","field":"large","args":[{"type":"i32","value":"101"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "large" (i32.const 101)) (i32.const 1))
ok, result
{"type":"assert_return","line":1071,"action":{"type":"invoke","field":"large","args":[{"type":"i32","value":"10000"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "large" (i32.const 10000)) (i32.const 0))
ok, result
{"type":"assert_return","line":1072,"action":{"type":"invoke","field":"large","args":[{"type":"i32","value":"10001"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "large" (i32.const 10001)) (i32.const 1))
ok, result
{"type":"assert_return","line":1073,"action":{"type":"invoke","field":"large","args":[{"type":"i32","value":"1000000"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "large" (i32.const 1000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":1074,"action":{"type":"invoke","field":"large","args":[{"type":"i32","value":"1000001"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "large" (i32.const 1000001)) (i32.const 1))
ok, result
{"type":"assert_return","line":1076,"action":{"type":"invoke","field":"as-block-first"}}
(assert_return (invoke "as-block-first"))
ok, result
{"type":"assert_return","line":1077,"action":{"type":"invoke","field":"as-block-mid"}}
(assert_return (invoke "as-block-mid"))
ok, result
{"type":"assert_return","line":1078,"action":{"type":"invoke","field":"as-block-last"}}
(assert_return (invoke "as-block-last"))
ok, result
{"type":"assert_return","line":1079,"action":{"type":"invoke","field":"as-block-value"},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-block-value") (i32.const 2))
ok, result
{"type":"assert_return","line":1081,"action":{"type":"invoke","field":"as-loop-first"},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-loop-first") (i32.const 3))
ok, result
{"type":"assert_return","line":1082,"action":{"type":"invoke","field":"as-loop-mid"},"expected":[{"type":"i32","value":"4"}]}
(assert_return (invoke "as-loop-mid") (i32.const 4))
ok, result
{"type":"assert_return","line":1083,"action":{"type":"invoke","field":"as-loop-last"},"expected":[{"type":"i32","value":"5"}]}
(assert_return (invoke "as-loop-last") (i32.const 5))
ok, result
{"type":"assert_return","line":1085,"action":{"type":"invoke","field":"as-br-value"},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "as-br-value") (i32.const 9))
ok, result
{"type":"assert_return","line":1087,"action":{"type":"invoke","field":"as-br_if-cond"}}
(assert_return (invoke "as-br_if-cond"))
ok, result
{"type":"assert_return","line":1088,"action":{"type":"invoke","field":"as-br_if-value"},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "as-br_if-value") (i32.const 8))
ok, result
{"type":"assert_return","line":1089,"action":{"type":"invoke","field":"as-br_if-value-cond"},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "as-br_if-value-cond") (i32.const 9))
ok, result
{"type":"assert_return","line":1091,"action":{"type":"invoke","field":"as-br_table-index"}}
(assert_return (invoke "as-br_table-index"))
ok, result
{"type":"assert_return","line":1092,"action":{"type":"invoke","field":"as-br_table-value"},"expected":[{"type":"i32","value":"10"}]}
(assert_return (invoke "as-br_table-value") (i32.const 10))
ok, result
{"type":"assert_return","line":1093,"action":{"type":"invoke","field":"as-br_table-value-index"},"expected":[{"type":"i32","value":"11"}]}
(assert_return (invoke "as-br_table-value-index") (i32.const 11))
ok, result
{"type":"assert_return","line":1095,"action":{"type":"invoke","field":"as-return-value"},"expected":[{"type":"i64","value":"7"}]}
(assert_return (invoke "as-return-value") (i64.const 7))
ok, result
{"type":"assert_return","line":1097,"action":{"type":"invoke","field":"as-if-cond"},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-if-cond") (i32.const 2))
ok, result
{"type":"assert_return","line":1098,"action":{"type":"invoke","field":"as-if-then","args":[{"type":"i32","value":"1"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-if-then" (i32.const 1) (i32.const 6)) (i32.const 3))
ok, result
{"type":"assert_return","line":1099,"action":{"type":"invoke","field":"as-if-then","args":[{"type":"i32","value":"0"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-if-then" (i32.const 0) (i32.const 6)) (i32.const 6))
ok, result
{"type":"assert_return","line":1100,"action":{"type":"invoke","field":"as-if-else","args":[{"type":"i32","value":"0"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"4"}]}
(assert_return (invoke "as-if-else" (i32.const 0) (i32.const 6)) (i32.const 4))
ok, result
{"type":"assert_return","line":1101,"action":{"type":"invoke","field":"as-if-else","args":[{"type":"i32","value":"1"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-if-else" (i32.const 1) (i32.const 6)) (i32.const 6))
ok, result
{"type":"assert_return","line":1103,"action":{"type":"invoke","field":"as-select-first","args":[{"type":"i32","value":"0"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"5"}]}
(assert_return (invoke "as-select-first" (i32.const 0) (i32.const 6)) (i32.const 5))
ok, result
{"type":"assert_return","line":1104,"action":{"type":"invoke","field":"as-select-first","args":[{"type":"i32","value":"1"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"5"}]}
(assert_return (invoke "as-select-first" (i32.const 1) (i32.const 6)) (i32.const 5))
ok, result
{"type":"assert_return","line":1105,"action":{"type":"invoke","field":"as-select-second","args":[{"type":"i32","value":"0"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-select-second" (i32.const 0) (i32.const 6)) (i32.const 6))
ok, result
{"type":"assert_return","line":1106,"action":{"type":"invoke","field":"as-select-second","args":[{"type":"i32","value":"1"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-select-second" (i32.const 1) (i32.const 6)) (i32.const 6))
ok, result
{"type":"assert_return","line":1107,"action":{"type":"invoke","field":"as-select-cond"},"expected":[{"type":"i32","value":"7"}]}
(assert_return (invoke "as-select-cond") (i32.const 7))
ok, result
{"type":"assert_return","line":1109,"action":{"type":"invoke","field":"as-call-first"},"expected":[{"type":"i32","value":"12"}]}
(assert_return (invoke "as-call-first") (i32.const 12))
ok, result
{"type":"assert_return","line":1110,"action":{"type":"invoke","field":"as-call-mid"},"expected":[{"type":"i32","value":"13"}]}
(assert_return (invoke "as-call-mid") (i32.const 13))
ok, result
{"type":"assert_return","line":1111,"action":{"type":"invoke","field":"as-call-last"},"expected":[{"type":"i32","value":"14"}]}
(assert_return (invoke "as-call-last") (i32.const 14))
ok, result
{"type":"assert_return","line":1113,"action":{"type":"invoke","field":"as-call_indirect-first"},"expected":[{"type":"i32","value":"20"}]}
(assert_return (invoke "as-call_indirect-first") (i32.const 20))
ok, result
{"type":"assert_return","line":1114,"action":{"type":"invoke","field":"as-call_indirect-mid"},"expected":[{"type":"i32","value":"21"}]}
(assert_return (invoke "as-call_indirect-mid") (i32.const 21))
ok, result
{"type":"assert_return","line":1115,"action":{"type":"invoke","field":"as-call_indirect-last"},"expected":[{"type":"i32","value":"22"}]}
(assert_return (invoke "as-call_indirect-last") (i32.const 22))
ok, result
{"type":"assert_return","line":1116,"action":{"type":"invoke","field":"as-call_indirect-func"},"expected":[{"type":"i32","value":"23"}]}
(assert_return (invoke "as-call_indirect-func") (i32.const 23))
ok, result
{"type":"assert_return","line":1118,"action":{"type":"invoke","field":"as-local.set-value"},"expected":[{"type":"i32","value":"17"}]}
(assert_return (invoke "as-local.set-value") (i32.const 17))
ok, result
{"type":"assert_return","line":1119,"action":{"type":"invoke","field":"as-local.tee-value"},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-local.tee-value") (i32.const 1))
ok, result
{"type":"assert_return","line":1120,"action":{"type":"invoke","field":"as-global.set-value"},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-global.set-value") (i32.const 1))
ok, result
{"type":"assert_return","line":1122,"action":{"type":"invoke","field":"as-load-address"},"expected":[{"type":"f32","value":"1071225242"}]}
(assert_return (invoke "as-load-address") (f32.const 1.7))
ok, result
{"type":"assert_return","line":1123,"action":{"type":"invoke","field":"as-loadN-address"},"expected":[{"type":"i64","value":"30"}]}
(assert_return (invoke "as-loadN-address") (i64.const 30))
ok, result
{"type":"assert_return","line":1125,"action":{"type":"invoke","field":"as-store-address"},"expected":[{"type":"i32","value":"30"}]}
(assert_return (invoke "as-store-address") (i32.const 30))
ok, result
{"type":"assert_return","line":1126,"action":{"type":"invoke","field":"as-store-value"},"expected":[{"type":"i32","value":"31"}]}
(assert_return (invoke "as-store-value") (i32.const 31))
ok, result
{"type":"assert_return","line":1127,"action":{"type":"invoke","field":"as-storeN-address"},"expected":[{"type":"i32","value":"32"}]}
(assert_return (invoke "as-storeN-address") (i32.const 32))
ok, result
{"type":"assert_return","line":1128,"action":{"type":"invoke","field":"as-storeN-value"},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "as-storeN-value") (i32.const 33))
ok, result
{"type":"assert_return","line":1130,"action":{"type":"invoke","field":"as-unary-operand"},"expected":[{"type":"f32","value":"1079613850"}]}
(assert_return (invoke "as-unary-operand") (f32.const 3.4))
error, wrong result, expected 1079613850, got 1079613849
{"type":"assert_return","line":1132,"action":{"type":"invoke","field":"as-binary-left"},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-binary-left") (i32.const 3))
ok, result
{"type":"assert_return","line":1133,"action":{"type":"invoke","field":"as-binary-right"},"expected":[{"type":"i64","value":"45"}]}
(assert_return (invoke "as-binary-right") (i64.const 45))
ok, result
{"type":"assert_return","line":1135,"action":{"type":"invoke","field":"as-test-operand"},"expected":[{"type":"i32","value":"44"}]}
(assert_return (invoke "as-test-operand") (i32.const 44))
ok, result
{"type":"assert_return","line":1137,"action":{"type":"invoke","field":"as-compare-left"},"expected":[{"type":"i32","value":"43"}]}
(assert_return (invoke "as-compare-left") (i32.const 43))
ok, result
{"type":"assert_return","line":1138,"action":{"type":"invoke","field":"as-compare-right"},"expected":[{"type":"i32","value":"42"}]}
(assert_return (invoke "as-compare-right") (i32.const 42))
ok, result
{"type":"assert_return","line":1140,"action":{"type":"invoke","field":"as-convert-operand"},"expected":[{"type":"i32","value":"41"}]}
(assert_return (invoke "as-convert-operand") (i32.const 41))
ok, result
{"type":"assert_return","line":1142,"action":{"type":"invoke","field":"as-memory.grow-size"},"expected":[{"type":"i32","value":"40"}]}
(assert_return (invoke "as-memory.grow-size") (i32.const 40))
ok, result
{"type":"assert_return","line":1144,"action":{"type":"invoke","field":"nested-block-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"19"}]}
(assert_return (invoke "nested-block-value" (i32.const 0)) (i32.const 19))
ok, result
{"type":"assert_return","line":1145,"action":{"type":"invoke","field":"nested-block-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"17"}]}
(assert_return (invoke "nested-block-value" (i32.const 1)) (i32.const 17))
ok, result
{"type":"assert_return","line":1146,"action":{"type":"invoke","field":"nested-block-value","args":[{"type":"i32","value":"2"}]},"expected":[{"type":"i32","value":"16"}]}
(assert_return (invoke "nested-block-value" (i32.const 2)) (i32.const 16))
ok, result
{"type":"assert_return","line":1147,"action":{"type":"invoke","field":"nested-block-value","args":[{"type":"i32","value":"10"}]},"expected":[{"type":"i32","value":"16"}]}
(assert_return (invoke "nested-block-value" (i32.const 10)) (i32.const 16))
ok, result
{"type":"assert_return","line":1148,"action":{"type":"invoke","field":"nested-block-value","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"16"}]}
(assert_return (invoke "nested-block-value" (i32.const -1)) (i32.const 16))
ok, result
{"type":"assert_return","line":1149,"action":{"type":"invoke","field":"nested-block-value","args":[{"type":"i32","value":"100000"}]},"expected":[{"type":"i32","value":"16"}]}
(assert_return (invoke "nested-block-value" (i32.const 100000)) (i32.const 16))
ok, result
{"type":"assert_return","line":1151,"action":{"type":"invoke","field":"nested-br-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "nested-br-value" (i32.const 0)) (i32.const 8))
ok, result
{"type":"assert_return","line":1152,"action":{"type":"invoke","field":"nested-br-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br-value" (i32.const 1)) (i32.const 9))
ok, result
{"type":"assert_return","line":1153,"action":{"type":"invoke","field":"nested-br-value","args":[{"type":"i32","value":"2"}]},"expected":[{"type":"i32","value":"17"}]}
(assert_return (invoke "nested-br-value" (i32.const 2)) (i32.const 17))
ok, result
{"type":"assert_return","line":1154,"action":{"type":"invoke","field":"nested-br-value","args":[{"type":"i32","value":"11"}]},"expected":[{"type":"i32","value":"17"}]}
(assert_return (invoke "nested-br-value" (i32.const 11)) (i32.const 17))
ok, result
{"type":"assert_return","line":1155,"action":{"type":"invoke","field":"nested-br-value","args":[{"type":"i32","value":"4294967292"}]},"expected":[{"type":"i32","value":"17"}]}
(assert_return (invoke "nested-br-value" (i32.const -4)) (i32.const 17))
ok, result
{"type":"assert_return","line":1156,"action":{"type":"invoke","field":"nested-br-value","args":[{"type":"i32","value":"10213210"}]},"expected":[{"type":"i32","value":"17"}]}
(assert_return (invoke "nested-br-value" (i32.const 10213210)) (i32.const 17))
ok, result
{"type":"assert_return","line":1158,"action":{"type":"invoke","field":"nested-br_if-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"17"}]}
(assert_return (invoke "nested-br_if-value" (i32.const 0)) (i32.const 17))
ok, result
{"type":"assert_return","line":1159,"action":{"type":"invoke","field":"nested-br_if-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_if-value" (i32.const 1)) (i32.const 9))
ok, result
{"type":"assert_return","line":1160,"action":{"type":"invoke","field":"nested-br_if-value","args":[{"type":"i32","value":"2"}]},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "nested-br_if-value" (i32.const 2)) (i32.const 8))
ok, result
{"type":"assert_return","line":1161,"action":{"type":"invoke","field":"nested-br_if-value","args":[{"type":"i32","value":"9"}]},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "nested-br_if-value" (i32.const 9)) (i32.const 8))
ok, result
{"type":"assert_return","line":1162,"action":{"type":"invoke","field":"nested-br_if-value","args":[{"type":"i32","value":"4294967287"}]},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "nested-br_if-value" (i32.const -9)) (i32.const 8))
ok, result
{"type":"assert_return","line":1163,"action":{"type":"invoke","field":"nested-br_if-value","args":[{"type":"i32","value":"999999"}]},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "nested-br_if-value" (i32.const 999999)) (i32.const 8))
ok, result
{"type":"assert_return","line":1165,"action":{"type":"invoke","field":"nested-br_if-value-cond","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_if-value-cond" (i32.const 0)) (i32.const 9))
ok, result
{"type":"assert_return","line":1166,"action":{"type":"invoke","field":"nested-br_if-value-cond","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "nested-br_if-value-cond" (i32.const 1)) (i32.const 8))
ok, result
{"type":"assert_return","line":1167,"action":{"type":"invoke","field":"nested-br_if-value-cond","args":[{"type":"i32","value":"2"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_if-value-cond" (i32.const 2)) (i32.const 9))
ok, result
{"type":"assert_return","line":1168,"action":{"type":"invoke","field":"nested-br_if-value-cond","args":[{"type":"i32","value":"3"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_if-value-cond" (i32.const 3)) (i32.const 9))
ok, result
{"type":"assert_return","line":1169,"action":{"type":"invoke","field":"nested-br_if-value-cond","args":[{"type":"i32","value":"4293967296"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_if-value-cond" (i32.const -1000000)) (i32.const 9))
ok, result
{"type":"assert_return","line":1170,"action":{"type":"invoke","field":"nested-br_if-value-cond","args":[{"type":"i32","value":"9423975"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_if-value-cond" (i32.const 9423975)) (i32.const 9))
ok, result
{"type":"assert_return","line":1172,"action":{"type":"invoke","field":"nested-br_table-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"17"}]}
(assert_return (invoke "nested-br_table-value" (i32.const 0)) (i32.const 17))
ok, result
{"type":"assert_return","line":1173,"action":{"type":"invoke","field":"nested-br_table-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_table-value" (i32.const 1)) (i32.const 9))
ok, result
{"type":"assert_return","line":1174,"action":{"type":"invoke","field":"nested-br_table-value","args":[{"type":"i32","value":"2"}]},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "nested-br_table-value" (i32.const 2)) (i32.const 8))
ok, result
{"type":"assert_return","line":1175,"action":{"type":"invoke","field":"nested-br_table-value","args":[{"type":"i32","value":"9"}]},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "nested-br_table-value" (i32.const 9)) (i32.const 8))
ok, result
{"type":"assert_return","line":1176,"action":{"type":"invoke","field":"nested-br_table-value","args":[{"type":"i32","value":"4294967287"}]},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "nested-br_table-value" (i32.const -9)) (i32.const 8))
ok, result
{"type":"assert_return","line":1177,"action":{"type":"invoke","field":"nested-br_table-value","args":[{"type":"i32","value":"999999"}]},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "nested-br_table-value" (i32.const 999999)) (i32.const 8))
ok, result
{"type":"assert_return","line":1179,"action":{"type":"invoke","field":"nested-br_table-value-index","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_table-value-index" (i32.const 0)) (i32.const 9))
ok, result
{"type":"assert_return","line":1180,"action":{"type":"invoke","field":"nested-br_table-value-index","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "nested-br_table-value-index" (i32.const 1)) (i32.const 8))
ok, result
{"type":"assert_return","line":1181,"action":{"type":"invoke","field":"nested-br_table-value-index","args":[{"type":"i32","value":"2"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_table-value-index" (i32.const 2)) (i32.const 9))
ok, result
{"type":"assert_return","line":1182,"action":{"type":"invoke","field":"nested-br_table-value-index","args":[{"type":"i32","value":"3"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_table-value-index" (i32.const 3)) (i32.const 9))
ok, result
{"type":"assert_return","line":1183,"action":{"type":"invoke","field":"nested-br_table-value-index","args":[{"type":"i32","value":"4293967296"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_table-value-index" (i32.const -1000000)) (i32.const 9))
ok, result
{"type":"assert_return","line":1184,"action":{"type":"invoke","field":"nested-br_table-value-index","args":[{"type":"i32","value":"9423975"}]},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_table-value-index" (i32.const 9423975)) (i32.const 9))
ok, result
{"type":"assert_return","line":1186,"action":{"type":"invoke","field":"nested-br_table-loop-block","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "nested-br_table-loop-block" (i32.const 1)) (i32.const 3))
ok, result
{"type":"assert_return","line":1188,"action":{"type":"invoke","field":"meet-externref","args":[{"type":"i32","value":"0"},{"type":"externref","value":"1"}]},"expected":[{"type":"externref","value":"1"}]}
(assert_return (invoke "meet-externref" (i32.const 0) (ref.extern 1)) (ref.extern 1))
ok, result
{"type":"assert_return","line":1189,"action":{"type":"invoke","field":"meet-externref","args":[{"type":"i32","value":"1"},{"type":"externref","value":"1"}]},"expected":[{"type":"externref","value":"1"}]}
(assert_return (invoke "meet-externref" (i32.const 1) (ref.extern 1)) (ref.extern 1))
ok, result
{"type":"assert_return","line":1190,"action":{"type":"invoke","field":"meet-externref","args":[{"type":"i32","value":"2"},{"type":"externref","value":"1"}]},"expected":[{"type":"externref","value":"1"}]}
(assert_return (invoke "meet-externref" (i32.const 2) (ref.extern 1)) (ref.extern 1))
ok, result
{"type":"assert_invalid","line":1193,"filename":"br_table.1.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1200,"filename":"br_table.2.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1207,"filename":"br_table.3.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1213,"filename":"br_table.4.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1221,"filename":"br_table.5.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1232,"filename":"br_table.6.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1243,"filename":"br_table.7.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1249,"filename":"br_table.8.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1255,"filename":"br_table.9.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1261,"filename":"br_table.10.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1267,"filename":"br_table.11.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1276,"filename":"br_table.12.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1283,"filename":"br_table.13.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1295,"filename":"br_table.14.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1307,"filename":"br_table.15.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1318,"filename":"br_table.16.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1330,"filename":"br_table.17.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1342,"filename":"br_table.18.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":1356,"filename":"br_table.19.wasm","text":"unknown label"}
expected error
{"type":"assert_invalid","line":1362,"filename":"br_table.20.wasm","text":"unknown label"}
expected error
{"type":"assert_invalid","line":1368,"filename":"br_table.21.wasm","text":"unknown label"}
expected error
{"type":"assert_invalid","line":1375,"filename":"br_table.22.wasm","text":"unknown label"}
expected error
{"type":"assert_invalid","line":1381,"filename":"br_table.23.wasm","text":"unknown label"}
expected error
{"type":"assert_invalid","line":1387,"filename":"br_table.24.wasm","text":"unknown label"}
expected error
Generated at 2024-09-05T14:37:34