{"type":"module","line":1,"filename":"select.0.wasm"}
loaded
{"type":"assert_return","line":183,"action":{"type":"invoke","field":"select-i32","args":[{"type":"i32","value":"1"},{"type":"i32","value":"2"},{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "select-i32" (i32.const 1) (i32.const 2) (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":184,"action":{"type":"invoke","field":"select-i64","args":[{"type":"i64","value":"2"},{"type":"i64","value":"1"},{"type":"i32","value":"1"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "select-i64" (i64.const 2) (i64.const 1) (i32.const 1)) (i64.const 2))
ok, result
{"type":"assert_return","line":185,"action":{"type":"invoke","field":"select-f32","args":[{"type":"f32","value":"1065353216"},{"type":"f32","value":"1073741824"},{"type":"i32","value":"1"}]},"expected":[{"type":"f32","value":"1065353216"}]}
(assert_return (invoke "select-f32" (f32.const 1) (f32.const 2) (i32.const 1)) (f32.const 1))
ok, result
{"type":"assert_return","line":186,"action":{"type":"invoke","field":"select-f64","args":[{"type":"f64","value":"4607182418800017408"},{"type":"f64","value":"4611686018427387904"},{"type":"i32","value":"1"}]},"expected":[{"type":"f64","value":"4607182418800017408"}]}
(assert_return (invoke "select-f64" (f64.const 1) (f64.const 2) (i32.const 1)) (f64.const 1))
exception: i64, from_unsigned, value too long, todo, "4607182418800017408"
{"type":"assert_return","line":188,"action":{"type":"invoke","field":"select-i32","args":[{"type":"i32","value":"1"},{"type":"i32","value":"2"},{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "select-i32" (i32.const 1) (i32.const 2) (i32.const 0)) (i32.const 2))
ok, result
{"type":"assert_return","line":189,"action":{"type":"invoke","field":"select-i32","args":[{"type":"i32","value":"2"},{"type":"i32","value":"1"},{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "select-i32" (i32.const 2) (i32.const 1) (i32.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":190,"action":{"type":"invoke","field":"select-i64","args":[{"type":"i64","value":"2"},{"type":"i64","value":"1"},{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "select-i64" (i64.const 2) (i64.const 1) (i32.const -1)) (i64.const 2))
ok, result
{"type":"assert_return","line":191,"action":{"type":"invoke","field":"select-i64","args":[{"type":"i64","value":"2"},{"type":"i64","value":"1"},{"type":"i32","value":"4042322160"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "select-i64" (i64.const 2) (i64.const 1) (i32.const 0xf0f0f0f0)) (i64.const 2))
ok, result
{"type":"assert_return","line":193,"action":{"type":"invoke","field":"select-f32","args":[{"type":"f32","value":"2143289344"},{"type":"f32","value":"1065353216"},{"type":"i32","value":"1"}]},"expected":[{"type":"f32","value":"2143289344"}]}
(assert_return (invoke "select-f32" (f32.const nan) (f32.const 1) (i32.const 1)) (f32.const nan))
ok, result
{"type":"assert_return","line":194,"action":{"type":"invoke","field":"select-f32","args":[{"type":"f32","value":"2139226884"},{"type":"f32","value":"1065353216"},{"type":"i32","value":"1"}]},"expected":[{"type":"f32","value":"2139226884"}]}
(assert_return (invoke "select-f32" (f32.const nan:0x20304) (f32.const 1) (i32.const 1)) (f32.const nan:0x20304))
ok, result
{"type":"assert_return","line":195,"action":{"type":"invoke","field":"select-f32","args":[{"type":"f32","value":"2143289344"},{"type":"f32","value":"1065353216"},{"type":"i32","value":"0"}]},"expected":[{"type":"f32","value":"1065353216"}]}
(assert_return (invoke "select-f32" (f32.const nan) (f32.const 1) (i32.const 0)) (f32.const 1))
ok, result
{"type":"assert_return","line":196,"action":{"type":"invoke","field":"select-f32","args":[{"type":"f32","value":"2139226884"},{"type":"f32","value":"1065353216"},{"type":"i32","value":"0"}]},"expected":[{"type":"f32","value":"1065353216"}]}
(assert_return (invoke "select-f32" (f32.const nan:0x20304) (f32.const 1) (i32.const 0)) (f32.const 1))
ok, result
{"type":"assert_return","line":197,"action":{"type":"invoke","field":"select-f32","args":[{"type":"f32","value":"1073741824"},{"type":"f32","value":"2143289344"},{"type":"i32","value":"1"}]},"expected":[{"type":"f32","value":"1073741824"}]}
(assert_return (invoke "select-f32" (f32.const 2) (f32.const nan) (i32.const 1)) (f32.const 2))
ok, result
{"type":"assert_return","line":198,"action":{"type":"invoke","field":"select-f32","args":[{"type":"f32","value":"1073741824"},{"type":"f32","value":"2139226884"},{"type":"i32","value":"1"}]},"expected":[{"type":"f32","value":"1073741824"}]}
(assert_return (invoke "select-f32" (f32.const 2) (f32.const nan:0x20304) (i32.const 1)) (f32.const 2))
ok, result
{"type":"assert_return","line":199,"action":{"type":"invoke","field":"select-f32","args":[{"type":"f32","value":"1073741824"},{"type":"f32","value":"2143289344"},{"type":"i32","value":"0"}]},"expected":[{"type":"f32","value":"2143289344"}]}
(assert_return (invoke "select-f32" (f32.const 2) (f32.const nan) (i32.const 0)) (f32.const nan))
ok, result
{"type":"assert_return","line":200,"action":{"type":"invoke","field":"select-f32","args":[{"type":"f32","value":"1073741824"},{"type":"f32","value":"2139226884"},{"type":"i32","value":"0"}]},"expected":[{"type":"f32","value":"2139226884"}]}
(assert_return (invoke "select-f32" (f32.const 2) (f32.const nan:0x20304) (i32.const 0)) (f32.const nan:0x20304))
ok, result
{"type":"assert_return","line":202,"action":{"type":"invoke","field":"select-f64","args":[{"type":"f64","value":"9221120237041090560"},{"type":"f64","value":"4607182418800017408"},{"type":"i32","value":"1"}]},"expected":[{"type":"f64","value":"9221120237041090560"}]}
(assert_return (invoke "select-f64" (f64.const nan) (f64.const 1) (i32.const 1)) (f64.const nan))
exception: i64, from_unsigned, value too long, todo, "9221120237041090560"
{"type":"assert_return","line":203,"action":{"type":"invoke","field":"select-f64","args":[{"type":"f64","value":"9218868437227537156"},{"type":"f64","value":"4607182418800017408"},{"type":"i32","value":"1"}]},"expected":[{"type":"f64","value":"9218868437227537156"}]}
(assert_return (invoke "select-f64" (f64.const nan:0x20304) (f64.const 1) (i32.const 1)) (f64.const nan:0x20304))
exception: i64, from_unsigned, value too long, todo, "9218868437227537156"
{"type":"assert_return","line":204,"action":{"type":"invoke","field":"select-f64","args":[{"type":"f64","value":"9221120237041090560"},{"type":"f64","value":"4607182418800017408"},{"type":"i32","value":"0"}]},"expected":[{"type":"f64","value":"4607182418800017408"}]}
(assert_return (invoke "select-f64" (f64.const nan) (f64.const 1) (i32.const 0)) (f64.const 1))
exception: i64, from_unsigned, value too long, todo, "9221120237041090560"
{"type":"assert_return","line":205,"action":{"type":"invoke","field":"select-f64","args":[{"type":"f64","value":"9218868437227537156"},{"type":"f64","value":"4607182418800017408"},{"type":"i32","value":"0"}]},"expected":[{"type":"f64","value":"4607182418800017408"}]}
(assert_return (invoke "select-f64" (f64.const nan:0x20304) (f64.const 1) (i32.const 0)) (f64.const 1))
exception: i64, from_unsigned, value too long, todo, "9218868437227537156"
{"type":"assert_return","line":206,"action":{"type":"invoke","field":"select-f64","args":[{"type":"f64","value":"4611686018427387904"},{"type":"f64","value":"9221120237041090560"},{"type":"i32","value":"1"}]},"expected":[{"type":"f64","value":"4611686018427387904"}]}
(assert_return (invoke "select-f64" (f64.const 2) (f64.const nan) (i32.const 1)) (f64.const 2))
exception: i64, from_unsigned, value too long, todo, "9221120237041090560"
{"type":"assert_return","line":207,"action":{"type":"invoke","field":"select-f64","args":[{"type":"f64","value":"4611686018427387904"},{"type":"f64","value":"9218868437227537156"},{"type":"i32","value":"1"}]},"expected":[{"type":"f64","value":"4611686018427387904"}]}
(assert_return (invoke "select-f64" (f64.const 2) (f64.const nan:0x20304) (i32.const 1)) (f64.const 2))
exception: i64, from_unsigned, value too long, todo, "9218868437227537156"
{"type":"assert_return","line":208,"action":{"type":"invoke","field":"select-f64","args":[{"type":"f64","value":"4611686018427387904"},{"type":"f64","value":"9221120237041090560"},{"type":"i32","value":"0"}]},"expected":[{"type":"f64","value":"9221120237041090560"}]}
(assert_return (invoke "select-f64" (f64.const 2) (f64.const nan) (i32.const 0)) (f64.const nan))
exception: i64, from_unsigned, value too long, todo, "9221120237041090560"
{"type":"assert_return","line":209,"action":{"type":"invoke","field":"select-f64","args":[{"type":"f64","value":"4611686018427387904"},{"type":"f64","value":"9218868437227537156"},{"type":"i32","value":"0"}]},"expected":[{"type":"f64","value":"9218868437227537156"}]}
(assert_return (invoke "select-f64" (f64.const 2) (f64.const nan:0x20304) (i32.const 0)) (f64.const nan:0x20304))
exception: i64, from_unsigned, value too long, todo, "9218868437227537156"
{"type":"assert_return","line":211,"action":{"type":"invoke","field":"select-i32-t","args":[{"type":"i32","value":"1"},{"type":"i32","value":"2"},{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "select-i32-t" (i32.const 1) (i32.const 2) (i32.const 1)) (i32.const 1))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":212,"action":{"type":"invoke","field":"select-i64-t","args":[{"type":"i64","value":"2"},{"type":"i64","value":"1"},{"type":"i32","value":"1"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "select-i64-t" (i64.const 2) (i64.const 1) (i32.const 1)) (i64.const 2))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":213,"action":{"type":"invoke","field":"select-f32-t","args":[{"type":"f32","value":"1065353216"},{"type":"f32","value":"1073741824"},{"type":"i32","value":"1"}]},"expected":[{"type":"f32","value":"1065353216"}]}
(assert_return (invoke "select-f32-t" (f32.const 1) (f32.const 2) (i32.const 1)) (f32.const 1))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":214,"action":{"type":"invoke","field":"select-f64-t","args":[{"type":"f64","value":"4607182418800017408"},{"type":"f64","value":"4611686018427387904"},{"type":"i32","value":"1"}]},"expected":[{"type":"f64","value":"4607182418800017408"}]}
(assert_return (invoke "select-f64-t" (f64.const 1) (f64.const 2) (i32.const 1)) (f64.const 1))
exception: i64, from_unsigned, value too long, todo, "4607182418800017408"
{"type":"assert_return","line":215,"action":{"type":"invoke","field":"select-funcref","args":[{"type":"funcref","value":"null"},{"type":"funcref","value":"null"},{"type":"i32","value":"1"}]},"expected":[{"type":"funcref","value":"null"}]}
(assert_return (invoke "select-funcref" (ref.null func) (ref.null func) (i32.const 1)) (ref.null func))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":216,"action":{"type":"invoke","field":"select-externref","args":[{"type":"externref","value":"1"},{"type":"externref","value":"2"},{"type":"i32","value":"1"}]},"expected":[{"type":"externref","value":"1"}]}
(assert_return (invoke "select-externref" (ref.extern 1) (ref.extern 2) (i32.const 1)) (ref.extern 1))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":218,"action":{"type":"invoke","field":"select-i32-t","args":[{"type":"i32","value":"1"},{"type":"i32","value":"2"},{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "select-i32-t" (i32.const 1) (i32.const 2) (i32.const 0)) (i32.const 2))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":219,"action":{"type":"invoke","field":"select-i32-t","args":[{"type":"i32","value":"2"},{"type":"i32","value":"1"},{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "select-i32-t" (i32.const 2) (i32.const 1) (i32.const 0)) (i32.const 1))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":220,"action":{"type":"invoke","field":"select-i64-t","args":[{"type":"i64","value":"2"},{"type":"i64","value":"1"},{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "select-i64-t" (i64.const 2) (i64.const 1) (i32.const -1)) (i64.const 2))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":221,"action":{"type":"invoke","field":"select-i64-t","args":[{"type":"i64","value":"2"},{"type":"i64","value":"1"},{"type":"i32","value":"4042322160"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "select-i64-t" (i64.const 2) (i64.const 1) (i32.const 0xf0f0f0f0)) (i64.const 2))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":222,"action":{"type":"invoke","field":"select-externref","args":[{"type":"externref","value":"1"},{"type":"externref","value":"2"},{"type":"i32","value":"0"}]},"expected":[{"type":"externref","value":"2"}]}
(assert_return (invoke "select-externref" (ref.extern 1) (ref.extern 2) (i32.const 0)) (ref.extern 2))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":223,"action":{"type":"invoke","field":"select-externref","args":[{"type":"externref","value":"2"},{"type":"externref","value":"1"},{"type":"i32","value":"0"}]},"expected":[{"type":"externref","value":"1"}]}
(assert_return (invoke "select-externref" (ref.extern 2) (ref.extern 1) (i32.const 0)) (ref.extern 1))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":225,"action":{"type":"invoke","field":"select-f32-t","args":[{"type":"f32","value":"2143289344"},{"type":"f32","value":"1065353216"},{"type":"i32","value":"1"}]},"expected":[{"type":"f32","value":"2143289344"}]}
(assert_return (invoke "select-f32-t" (f32.const nan) (f32.const 1) (i32.const 1)) (f32.const nan))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":226,"action":{"type":"invoke","field":"select-f32-t","args":[{"type":"f32","value":"2139226884"},{"type":"f32","value":"1065353216"},{"type":"i32","value":"1"}]},"expected":[{"type":"f32","value":"2139226884"}]}
(assert_return (invoke "select-f32-t" (f32.const nan:0x20304) (f32.const 1) (i32.const 1)) (f32.const nan:0x20304))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":227,"action":{"type":"invoke","field":"select-f32-t","args":[{"type":"f32","value":"2143289344"},{"type":"f32","value":"1065353216"},{"type":"i32","value":"0"}]},"expected":[{"type":"f32","value":"1065353216"}]}
(assert_return (invoke "select-f32-t" (f32.const nan) (f32.const 1) (i32.const 0)) (f32.const 1))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":228,"action":{"type":"invoke","field":"select-f32-t","args":[{"type":"f32","value":"2139226884"},{"type":"f32","value":"1065353216"},{"type":"i32","value":"0"}]},"expected":[{"type":"f32","value":"1065353216"}]}
(assert_return (invoke "select-f32-t" (f32.const nan:0x20304) (f32.const 1) (i32.const 0)) (f32.const 1))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":229,"action":{"type":"invoke","field":"select-f32-t","args":[{"type":"f32","value":"1073741824"},{"type":"f32","value":"2143289344"},{"type":"i32","value":"1"}]},"expected":[{"type":"f32","value":"1073741824"}]}
(assert_return (invoke "select-f32-t" (f32.const 2) (f32.const nan) (i32.const 1)) (f32.const 2))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":230,"action":{"type":"invoke","field":"select-f32-t","args":[{"type":"f32","value":"1073741824"},{"type":"f32","value":"2139226884"},{"type":"i32","value":"1"}]},"expected":[{"type":"f32","value":"1073741824"}]}
(assert_return (invoke "select-f32-t" (f32.const 2) (f32.const nan:0x20304) (i32.const 1)) (f32.const 2))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":231,"action":{"type":"invoke","field":"select-f32-t","args":[{"type":"f32","value":"1073741824"},{"type":"f32","value":"2143289344"},{"type":"i32","value":"0"}]},"expected":[{"type":"f32","value":"2143289344"}]}
(assert_return (invoke "select-f32-t" (f32.const 2) (f32.const nan) (i32.const 0)) (f32.const nan))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":232,"action":{"type":"invoke","field":"select-f32-t","args":[{"type":"f32","value":"1073741824"},{"type":"f32","value":"2139226884"},{"type":"i32","value":"0"}]},"expected":[{"type":"f32","value":"2139226884"}]}
(assert_return (invoke "select-f32-t" (f32.const 2) (f32.const nan:0x20304) (i32.const 0)) (f32.const nan:0x20304))
exception: todo, execute instruction zcl_wasm_select_star
{"type":"assert_return","line":234,"action":{"type":"invoke","field":"select-f64-t","args":[{"type":"f64","value":"9221120237041090560"},{"type":"f64","value":"4607182418800017408"},{"type":"i32","value":"1"}]},"expected":[{"type":"f64","value":"9221120237041090560"}]}
(assert_return (invoke "select-f64-t" (f64.const nan) (f64.const 1) (i32.const 1)) (f64.const nan))
exception: i64, from_unsigned, value too long, todo, "9221120237041090560"
{"type":"assert_return","line":235,"action":{"type":"invoke","field":"select-f64-t","args":[{"type":"f64","value":"9218868437227537156"},{"type":"f64","value":"4607182418800017408"},{"type":"i32","value":"1"}]},"expected":[{"type":"f64","value":"9218868437227537156"}]}
(assert_return (invoke "select-f64-t" (f64.const nan:0x20304) (f64.const 1) (i32.const 1)) (f64.const nan:0x20304))
exception: i64, from_unsigned, value too long, todo, "9218868437227537156"
{"type":"assert_return","line":236,"action":{"type":"invoke","field":"select-f64-t","args":[{"type":"f64","value":"9221120237041090560"},{"type":"f64","value":"4607182418800017408"},{"type":"i32","value":"0"}]},"expected":[{"type":"f64","value":"4607182418800017408"}]}
(assert_return (invoke "select-f64-t" (f64.const nan) (f64.const 1) (i32.const 0)) (f64.const 1))
exception: i64, from_unsigned, value too long, todo, "9221120237041090560"
{"type":"assert_return","line":237,"action":{"type":"invoke","field":"select-f64-t","args":[{"type":"f64","value":"9218868437227537156"},{"type":"f64","value":"4607182418800017408"},{"type":"i32","value":"0"}]},"expected":[{"type":"f64","value":"4607182418800017408"}]}
(assert_return (invoke "select-f64-t" (f64.const nan:0x20304) (f64.const 1) (i32.const 0)) (f64.const 1))
exception: i64, from_unsigned, value too long, todo, "9218868437227537156"
{"type":"assert_return","line":238,"action":{"type":"invoke","field":"select-f64-t","args":[{"type":"f64","value":"4611686018427387904"},{"type":"f64","value":"9221120237041090560"},{"type":"i32","value":"1"}]},"expected":[{"type":"f64","value":"4611686018427387904"}]}
(assert_return (invoke "select-f64-t" (f64.const 2) (f64.const nan) (i32.const 1)) (f64.const 2))
exception: i64, from_unsigned, value too long, todo, "9221120237041090560"
{"type":"assert_return","line":239,"action":{"type":"invoke","field":"select-f64-t","args":[{"type":"f64","value":"4611686018427387904"},{"type":"f64","value":"9218868437227537156"},{"type":"i32","value":"1"}]},"expected":[{"type":"f64","value":"4611686018427387904"}]}
(assert_return (invoke "select-f64-t" (f64.const 2) (f64.const nan:0x20304) (i32.const 1)) (f64.const 2))
exception: i64, from_unsigned, value too long, todo, "9218868437227537156"
{"type":"assert_return","line":240,"action":{"type":"invoke","field":"select-f64-t","args":[{"type":"f64","value":"4611686018427387904"},{"type":"f64","value":"9221120237041090560"},{"type":"i32","value":"0"}]},"expected":[{"type":"f64","value":"9221120237041090560"}]}
(assert_return (invoke "select-f64-t" (f64.const 2) (f64.const nan) (i32.const 0)) (f64.const nan))
exception: i64, from_unsigned, value too long, todo, "9221120237041090560"
{"type":"assert_return","line":241,"action":{"type":"invoke","field":"select-f64-t","args":[{"type":"f64","value":"4611686018427387904"},{"type":"f64","value":"9218868437227537156"},{"type":"i32","value":"0"}]},"expected":[{"type":"f64","value":"9218868437227537156"}]}
(assert_return (invoke "select-f64-t" (f64.const 2) (f64.const nan:0x20304) (i32.const 0)) (f64.const nan:0x20304))
exception: i64, from_unsigned, value too long, todo, "9218868437227537156"
{"type":"assert_return","line":243,"action":{"type":"invoke","field":"as-select-first","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-select-first" (i32.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":244,"action":{"type":"invoke","field":"as-select-first","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "as-select-first" (i32.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":245,"action":{"type":"invoke","field":"as-select-mid","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-select-mid" (i32.const 0)) (i32.const 2))
ok, result
{"type":"assert_return","line":246,"action":{"type":"invoke","field":"as-select-mid","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-select-mid" (i32.const 1)) (i32.const 2))
ok, result
{"type":"assert_return","line":247,"action":{"type":"invoke","field":"as-select-last","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-select-last" (i32.const 0)) (i32.const 2))
ok, result
{"type":"assert_return","line":248,"action":{"type":"invoke","field":"as-select-last","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-select-last" (i32.const 1)) (i32.const 3))
ok, result
{"type":"assert_return","line":250,"action":{"type":"invoke","field":"as-loop-first","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-loop-first" (i32.const 0)) (i32.const 3))
ok, result
{"type":"assert_return","line":251,"action":{"type":"invoke","field":"as-loop-first","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-loop-first" (i32.const 1)) (i32.const 2))
ok, result
{"type":"assert_return","line":252,"action":{"type":"invoke","field":"as-loop-mid","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-loop-mid" (i32.const 0)) (i32.const 3))
ok, result
{"type":"assert_return","line":253,"action":{"type":"invoke","field":"as-loop-mid","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-loop-mid" (i32.const 1)) (i32.const 2))
ok, result
{"type":"assert_return","line":254,"action":{"type":"invoke","field":"as-loop-last","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-loop-last" (i32.const 0)) (i32.const 3))
ok, result
{"type":"assert_return","line":255,"action":{"type":"invoke","field":"as-loop-last","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-loop-last" (i32.const 1)) (i32.const 2))
ok, result
{"type":"assert_return","line":257,"action":{"type":"invoke","field":"as-if-condition","args":[{"type":"i32","value":"0"}]}}
(assert_return (invoke "as-if-condition" (i32.const 0)))
ok, result
{"type":"assert_return","line":258,"action":{"type":"invoke","field":"as-if-condition","args":[{"type":"i32","value":"1"}]}}
(assert_return (invoke "as-if-condition" (i32.const 1)))
ok, result
{"type":"assert_return","line":259,"action":{"type":"invoke","field":"as-if-then","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-if-then" (i32.const 0)) (i32.const 3))
ok, result
{"type":"assert_return","line":260,"action":{"type":"invoke","field":"as-if-then","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-if-then" (i32.const 1)) (i32.const 2))
ok, result
{"type":"assert_return","line":261,"action":{"type":"invoke","field":"as-if-else","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-if-else" (i32.const 0)) (i32.const 3))
ok, result
{"type":"assert_return","line":262,"action":{"type":"invoke","field":"as-if-else","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-if-else" (i32.const 1)) (i32.const 2))
ok, result
{"type":"assert_return","line":264,"action":{"type":"invoke","field":"as-br_if-first","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-br_if-first" (i32.const 0)) (i32.const 3))
ok, result
{"type":"assert_return","line":265,"action":{"type":"invoke","field":"as-br_if-first","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-br_if-first" (i32.const 1)) (i32.const 2))
ok, result
{"type":"assert_return","line":266,"action":{"type":"invoke","field":"as-br_if-last","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-br_if-last" (i32.const 0)) (i32.const 2))
ok, result
{"type":"assert_return","line":267,"action":{"type":"invoke","field":"as-br_if-last","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-br_if-last" (i32.const 1)) (i32.const 2))
ok, result
{"type":"assert_return","line":269,"action":{"type":"invoke","field":"as-br_table-first","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-br_table-first" (i32.const 0)) (i32.const 3))
ok, result
{"type":"assert_return","line":270,"action":{"type":"invoke","field":"as-br_table-first","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-br_table-first" (i32.const 1)) (i32.const 2))
ok, result
{"type":"assert_return","line":271,"action":{"type":"invoke","field":"as-br_table-last","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-br_table-last" (i32.const 0)) (i32.const 2))
ok, result
{"type":"assert_return","line":272,"action":{"type":"invoke","field":"as-br_table-last","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-br_table-last" (i32.const 1)) (i32.const 2))
ok, result
{"type":"assert_return","line":274,"action":{"type":"invoke","field":"as-call_indirect-first","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-call_indirect-first" (i32.const 0)) (i32.const 3))
ok, result
{"type":"assert_return","line":275,"action":{"type":"invoke","field":"as-call_indirect-first","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-call_indirect-first" (i32.const 1)) (i32.const 2))
ok, result
{"type":"assert_return","line":276,"action":{"type":"invoke","field":"as-call_indirect-mid","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-call_indirect-mid" (i32.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":277,"action":{"type":"invoke","field":"as-call_indirect-mid","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-call_indirect-mid" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_trap","line":278,"text":"undefined element","action":{"type":"invoke","field":"as-call_indirect-last","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32"}]}
(assert_trap (invoke "as-call_indirect-last" (i32.const 0)) "undefined element")
ok, got error: zcl_wasm_memory: table_get, out of bounds
{"type":"assert_trap","line":279,"text":"undefined element","action":{"type":"invoke","field":"as-call_indirect-last","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32"}]}
(assert_trap (invoke "as-call_indirect-last" (i32.const 1)) "undefined element")
ok, got error: zcl_wasm_memory: table_get, out of bounds
{"type":"assert_return","line":281,"action":{"type":"invoke","field":"as-store-first","args":[{"type":"i32","value":"0"}]}}
(assert_return (invoke "as-store-first" (i32.const 0)))
ok, result
{"type":"assert_return","line":282,"action":{"type":"invoke","field":"as-store-first","args":[{"type":"i32","value":"1"}]}}
(assert_return (invoke "as-store-first" (i32.const 1)))
ok, result
{"type":"assert_return","line":283,"action":{"type":"invoke","field":"as-store-last","args":[{"type":"i32","value":"0"}]}}
(assert_return (invoke "as-store-last" (i32.const 0)))
ok, result
{"type":"assert_return","line":284,"action":{"type":"invoke","field":"as-store-last","args":[{"type":"i32","value":"1"}]}}
(assert_return (invoke "as-store-last" (i32.const 1)))
ok, result
{"type":"assert_return","line":286,"action":{"type":"invoke","field":"as-memory.grow-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-memory.grow-value" (i32.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":287,"action":{"type":"invoke","field":"as-memory.grow-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-memory.grow-value" (i32.const 1)) (i32.const 3))
ok, result
{"type":"assert_return","line":289,"action":{"type":"invoke","field":"as-call-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-call-value" (i32.const 0)) (i32.const 2))
ok, result
{"type":"assert_return","line":290,"action":{"type":"invoke","field":"as-call-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-call-value" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":291,"action":{"type":"invoke","field":"as-return-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-return-value" (i32.const 0)) (i32.const 2))
ok, result
{"type":"assert_return","line":292,"action":{"type":"invoke","field":"as-return-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-return-value" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":293,"action":{"type":"invoke","field":"as-drop-operand","args":[{"type":"i32","value":"0"}]}}
(assert_return (invoke "as-drop-operand" (i32.const 0)))
ok, result
{"type":"assert_return","line":294,"action":{"type":"invoke","field":"as-drop-operand","args":[{"type":"i32","value":"1"}]}}
(assert_return (invoke "as-drop-operand" (i32.const 1)))
ok, result
{"type":"assert_return","line":295,"action":{"type":"invoke","field":"as-br-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-br-value" (i32.const 0)) (i32.const 2))
ok, result
{"type":"assert_return","line":296,"action":{"type":"invoke","field":"as-br-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-br-value" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":297,"action":{"type":"invoke","field":"as-local.set-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-local.set-value" (i32.const 0)) (i32.const 2))
ok, result
{"type":"assert_return","line":298,"action":{"type":"invoke","field":"as-local.set-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-local.set-value" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":299,"action":{"type":"invoke","field":"as-local.tee-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-local.tee-value" (i32.const 0)) (i32.const 2))
ok, result
{"type":"assert_return","line":300,"action":{"type":"invoke","field":"as-local.tee-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-local.tee-value" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":301,"action":{"type":"invoke","field":"as-global.set-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-global.set-value" (i32.const 0)) (i32.const 2))
ok, result
{"type":"assert_return","line":302,"action":{"type":"invoke","field":"as-global.set-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-global.set-value" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":303,"action":{"type":"invoke","field":"as-load-operand","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-load-operand" (i32.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":304,"action":{"type":"invoke","field":"as-load-operand","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-load-operand" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":306,"action":{"type":"invoke","field":"as-unary-operand","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "as-unary-operand" (i32.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":307,"action":{"type":"invoke","field":"as-unary-operand","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-unary-operand" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":308,"action":{"type":"invoke","field":"as-binary-operand","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"4"}]}
(assert_return (invoke "as-binary-operand" (i32.const 0)) (i32.const 4))
ok, result
{"type":"assert_return","line":309,"action":{"type":"invoke","field":"as-binary-operand","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-binary-operand" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":310,"action":{"type":"invoke","field":"as-test-operand","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "as-test-operand" (i32.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":311,"action":{"type":"invoke","field":"as-test-operand","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-test-operand" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":312,"action":{"type":"invoke","field":"as-compare-left","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "as-compare-left" (i32.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":313,"action":{"type":"invoke","field":"as-compare-left","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-compare-left" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":314,"action":{"type":"invoke","field":"as-compare-right","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "as-compare-right" (i32.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":315,"action":{"type":"invoke","field":"as-compare-right","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-compare-right" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":316,"action":{"type":"invoke","field":"as-convert-operand","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "as-convert-operand" (i32.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":317,"action":{"type":"invoke","field":"as-convert-operand","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-convert-operand" (i32.const 1)) (i32.const 1))
ok, result
{"type":"assert_invalid","line":320,"filename":"select.1.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":324,"filename":"select.2.wasm","text":"invalid result arity"}
expected error
{"type":"assert_invalid","line":328,"filename":"select.3.wasm","text":"invalid result arity"}
expected error
{"type":"assert_invalid","line":340,"filename":"select.4.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":347,"filename":"select.5.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":353,"filename":"select.6.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":359,"filename":"select.7.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":366,"filename":"select.8.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":370,"filename":"select.9.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":374,"filename":"select.10.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":378,"filename":"select.11.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":382,"filename":"select.12.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":388,"filename":"select.13.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":396,"filename":"select.14.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":404,"filename":"select.15.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":412,"filename":"select.16.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":421,"filename":"select.17.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":430,"filename":"select.18.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":439,"filename":"select.19.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":448,"filename":"select.20.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":457,"filename":"select.21.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":466,"filename":"select.22.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":475,"filename":"select.23.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":484,"filename":"select.24.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":496,"filename":"select.25.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":500,"filename":"select.26.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":504,"filename":"select.27.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":511,"filename":"select.28.wasm","text":"type mismatch"}
expected error
{"type":"module","line":518,"filename":"select.29.wasm"}
loaded
Generated at 2024-09-05T14:39:23