Home

Errors: 0

Warnings: 0

Successes: 51


int_literals.wast

{"type":"module","line":1,"filename":"int_literals.0.wasm"}

loaded

{"type":"assert_return","line":37,"action":{"type":"invoke","field":"i32.test"},"expected":[{"type":"i32","value":"195940365"}]}
(assert_return (invoke "i32.test") (i32.const 195940365))

ok, result

{"type":"assert_return","line":38,"action":{"type":"invoke","field":"i32.umax"},"expected":[{"type":"i32","value":"4294967295"}]}
(assert_return (invoke "i32.umax") (i32.const -1))

ok, result

{"type":"assert_return","line":39,"action":{"type":"invoke","field":"i32.smax"},"expected":[{"type":"i32","value":"2147483647"}]}
(assert_return (invoke "i32.smax") (i32.const 2147483647))

ok, result

{"type":"assert_return","line":40,"action":{"type":"invoke","field":"i32.neg_smax"},"expected":[{"type":"i32","value":"2147483649"}]}
(assert_return (invoke "i32.neg_smax") (i32.const -2147483647))

ok, result

{"type":"assert_return","line":41,"action":{"type":"invoke","field":"i32.smin"},"expected":[{"type":"i32","value":"2147483648"}]}
(assert_return (invoke "i32.smin") (i32.const -2147483648))

ok, result

{"type":"assert_return","line":42,"action":{"type":"invoke","field":"i32.alt_smin"},"expected":[{"type":"i32","value":"2147483648"}]}
(assert_return (invoke "i32.alt_smin") (i32.const -2147483648))

ok, result

{"type":"assert_return","line":43,"action":{"type":"invoke","field":"i32.inc_smin"},"expected":[{"type":"i32","value":"2147483649"}]}
(assert_return (invoke "i32.inc_smin") (i32.const -2147483647))

ok, result

{"type":"assert_return","line":44,"action":{"type":"invoke","field":"i32.neg_zero"},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "i32.neg_zero") (i32.const 0))

ok, result

{"type":"assert_return","line":45,"action":{"type":"invoke","field":"i32.not_octal"},"expected":[{"type":"i32","value":"10"}]}
(assert_return (invoke "i32.not_octal") (i32.const 10))

ok, result

{"type":"assert_return","line":46,"action":{"type":"invoke","field":"i32.unsigned_decimal"},"expected":[{"type":"i32","value":"4294967295"}]}
(assert_return (invoke "i32.unsigned_decimal") (i32.const -1))

ok, result

{"type":"assert_return","line":47,"action":{"type":"invoke","field":"i32.plus_sign"},"expected":[{"type":"i32","value":"42"}]}
(assert_return (invoke "i32.plus_sign") (i32.const 42))

ok, result

{"type":"assert_return","line":49,"action":{"type":"invoke","field":"i64.test"},"expected":[{"type":"i64","value":"913028331277281902"}]}
(assert_return (invoke "i64.test") (i64.const 913028331277281902))

ok, result

{"type":"assert_return","line":50,"action":{"type":"invoke","field":"i64.umax"},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "i64.umax") (i64.const -1))

ok, result

{"type":"assert_return","line":51,"action":{"type":"invoke","field":"i64.smax"},"expected":[{"type":"i64","value":"9223372036854775807"}]}
(assert_return (invoke "i64.smax") (i64.const 9223372036854775807))

ok, result

{"type":"assert_return","line":52,"action":{"type":"invoke","field":"i64.neg_smax"},"expected":[{"type":"i64","value":"9223372036854775809"}]}
(assert_return (invoke "i64.neg_smax") (i64.const -9223372036854775807))

ok, result

{"type":"assert_return","line":53,"action":{"type":"invoke","field":"i64.smin"},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "i64.smin") (i64.const -9223372036854775808))

ok, result

{"type":"assert_return","line":54,"action":{"type":"invoke","field":"i64.alt_smin"},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "i64.alt_smin") (i64.const -9223372036854775808))

ok, result

{"type":"assert_return","line":55,"action":{"type":"invoke","field":"i64.inc_smin"},"expected":[{"type":"i64","value":"9223372036854775809"}]}
(assert_return (invoke "i64.inc_smin") (i64.const -9223372036854775807))

ok, result

{"type":"assert_return","line":56,"action":{"type":"invoke","field":"i64.neg_zero"},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "i64.neg_zero") (i64.const 0))

ok, result

{"type":"assert_return","line":57,"action":{"type":"invoke","field":"i64.not_octal"},"expected":[{"type":"i64","value":"10"}]}
(assert_return (invoke "i64.not_octal") (i64.const 10))

ok, result

{"type":"assert_return","line":58,"action":{"type":"invoke","field":"i64.unsigned_decimal"},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "i64.unsigned_decimal") (i64.const -1))

ok, result

{"type":"assert_return","line":59,"action":{"type":"invoke","field":"i64.plus_sign"},"expected":[{"type":"i64","value":"42"}]}
(assert_return (invoke "i64.plus_sign") (i64.const 42))

ok, result

{"type":"assert_return","line":61,"action":{"type":"invoke","field":"i32-dec-sep1"},"expected":[{"type":"i32","value":"1000000"}]}
(assert_return (invoke "i32-dec-sep1") (i32.const 1000000))

ok, result

{"type":"assert_return","line":62,"action":{"type":"invoke","field":"i32-dec-sep2"},"expected":[{"type":"i32","value":"1000"}]}
(assert_return (invoke "i32-dec-sep2") (i32.const 1000))

ok, result

{"type":"assert_return","line":63,"action":{"type":"invoke","field":"i32-hex-sep1"},"expected":[{"type":"i32","value":"168755353"}]}
(assert_return (invoke "i32-hex-sep1") (i32.const 0xa0f0099))

ok, result

{"type":"assert_return","line":64,"action":{"type":"invoke","field":"i32-hex-sep2"},"expected":[{"type":"i32","value":"109071"}]}
(assert_return (invoke "i32-hex-sep2") (i32.const 0x1aa0f))

ok, result

{"type":"assert_return","line":66,"action":{"type":"invoke","field":"i64-dec-sep1"},"expected":[{"type":"i64","value":"1000000"}]}
(assert_return (invoke "i64-dec-sep1") (i64.const 1000000))

ok, result

{"type":"assert_return","line":67,"action":{"type":"invoke","field":"i64-dec-sep2"},"expected":[{"type":"i64","value":"1000"}]}
(assert_return (invoke "i64-dec-sep2") (i64.const 1000))

ok, result

{"type":"assert_return","line":68,"action":{"type":"invoke","field":"i64-hex-sep1"},"expected":[{"type":"i64","value":"3078696982321561"}]}
(assert_return (invoke "i64-hex-sep1") (i64.const 0xaf00f00009999))

ok, result

{"type":"assert_return","line":69,"action":{"type":"invoke","field":"i64-hex-sep2"},"expected":[{"type":"i64","value":"109071"}]}
(assert_return (invoke "i64-hex-sep2") (i64.const 0x1aa0f))

ok, result

{"type":"assert_malformed","line":72,"filename":"int_literals.1.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":76,"filename":"int_literals.2.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":80,"filename":"int_literals.3.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":84,"filename":"int_literals.4.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":88,"filename":"int_literals.5.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":92,"filename":"int_literals.6.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":96,"filename":"int_literals.7.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":100,"filename":"int_literals.8.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":104,"filename":"int_literals.9.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":108,"filename":"int_literals.10.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":113,"filename":"int_literals.11.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":117,"filename":"int_literals.12.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":121,"filename":"int_literals.13.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":125,"filename":"int_literals.14.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":129,"filename":"int_literals.15.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":133,"filename":"int_literals.16.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":137,"filename":"int_literals.17.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":141,"filename":"int_literals.18.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":145,"filename":"int_literals.19.wat","text":"unknown operator"}

got error: unexpected magic number

{"type":"assert_malformed","line":149,"filename":"int_literals.20.wat","text":"unknown operator"}

got error: unexpected magic number

Generated at 2024-09-05T14:38:17