-
Notifications
You must be signed in to change notification settings - Fork 0
/
fac.html
28 lines (28 loc) · 2.52 KB
/
fac.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<a href="./index.html">Home</a><br><h3>Errors: 1</h3>
<h3>Warnings: 1</h3>
<h3>Successes: 6</h3>
<hr>
<h1>fac.wast</h1>
<pre>{"type":"module","line":1,"filename":"fac.0.wasm"}</pre>
<p style="background-color: green">loaded</p>
<pre>{"type":"assert_return","line":102,"action":{"type":"invoke","field":"fac-rec","args":[{"type":"i64","value":"25"}]},"expected":[{"type":"i64","value":"7034535277573963776"}]}</pre>
<pre>(assert_return (invoke "fac-rec" (i64.const 25)) (i64.const 7034535277573963776))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":103,"action":{"type":"invoke","field":"fac-iter","args":[{"type":"i64","value":"25"}]},"expected":[{"type":"i64","value":"7034535277573963776"}]}</pre>
<pre>(assert_return (invoke "fac-iter" (i64.const 25)) (i64.const 7034535277573963776))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":104,"action":{"type":"invoke","field":"fac-rec-named","args":[{"type":"i64","value":"25"}]},"expected":[{"type":"i64","value":"7034535277573963776"}]}</pre>
<pre>(assert_return (invoke "fac-rec-named" (i64.const 25)) (i64.const 7034535277573963776))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":105,"action":{"type":"invoke","field":"fac-iter-named","args":[{"type":"i64","value":"25"}]},"expected":[{"type":"i64","value":"7034535277573963776"}]}</pre>
<pre>(assert_return (invoke "fac-iter-named" (i64.const 25)) (i64.const 7034535277573963776))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":106,"action":{"type":"invoke","field":"fac-opt","args":[{"type":"i64","value":"25"}]},"expected":[{"type":"i64","value":"7034535277573963776"}]}</pre>
<pre>(assert_return (invoke "fac-opt" (i64.const 25)) (i64.const 7034535277573963776))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":107,"action":{"type":"invoke","field":"fac-ssa","args":[{"type":"i64","value":"25"}]},"expected":[{"type":"i64","value":"7034535277573963776"}]}</pre>
<pre>(assert_return (invoke "fac-ssa" (i64.const 25)) (i64.const 7034535277573963776))</pre>
<p style="background-color: red">error, wrong result, expected 7034535277573963776, got 25</p>
<pre>{"type":"assert_exhaustion","line":109,"text":"call stack exhausted","action":{"type":"invoke","field":"fac-rec","args":[{"type":"i64","value":"1073741824"}]},"expected":[{"type":"i64"}]}</pre>
<p style="background-color: yellow">todo, assert_exhaustion</p>
<p>Generated at 2024-09-05T14:38:11</p>