-
Notifications
You must be signed in to change notification settings - Fork 0
/
br_if.html
330 lines (330 loc) · 28.9 KB
/
br_if.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
<a href="./index.html">Home</a><br><h3>Errors: 31</h3>
<h3>Warnings: 0</h3>
<h3>Successes: 87</h3>
<hr>
<h1>br_if.wast</h1>
<pre>{"type":"module","line":3,"filename":"br_if.0.wasm"}</pre>
<p style="background-color: green">loaded</p>
<pre>{"type":"assert_return","line":372,"action":{"type":"invoke","field":"type-i32"}}</pre>
<pre>(assert_return (invoke "type-i32"))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":373,"action":{"type":"invoke","field":"type-i64"}}</pre>
<pre>(assert_return (invoke "type-i64"))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":374,"action":{"type":"invoke","field":"type-f32"}}</pre>
<pre>(assert_return (invoke "type-f32"))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":375,"action":{"type":"invoke","field":"type-f64"}}</pre>
<pre>(assert_return (invoke "type-f64"))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":377,"action":{"type":"invoke","field":"type-i32-value"},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "type-i32-value") (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":378,"action":{"type":"invoke","field":"type-i64-value"},"expected":[{"type":"i64","value":"2"}]}</pre>
<pre>(assert_return (invoke "type-i64-value") (i64.const 2))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":379,"action":{"type":"invoke","field":"type-f32-value"},"expected":[{"type":"f32","value":"1077936128"}]}</pre>
<pre>(assert_return (invoke "type-f32-value") (f32.const 3))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":380,"action":{"type":"invoke","field":"type-f64-value"},"expected":[{"type":"f64","value":"4616189618054758400"}]}</pre>
<pre>(assert_return (invoke "type-f64-value") (f64.const 4))</pre>
<p style="background-color: red">error, wrong result, expected 4616189618054758400, got 4160</p>
<pre>{"type":"assert_return","line":382,"action":{"type":"invoke","field":"as-block-first","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}</pre>
<pre>(assert_return (invoke "as-block-first" (i32.const 0)) (i32.const 2))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":383,"action":{"type":"invoke","field":"as-block-first","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"3"}]}</pre>
<pre>(assert_return (invoke "as-block-first" (i32.const 1)) (i32.const 3))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":384,"action":{"type":"invoke","field":"as-block-mid","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}</pre>
<pre>(assert_return (invoke "as-block-mid" (i32.const 0)) (i32.const 2))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":385,"action":{"type":"invoke","field":"as-block-mid","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"3"}]}</pre>
<pre>(assert_return (invoke "as-block-mid" (i32.const 1)) (i32.const 3))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":386,"action":{"type":"invoke","field":"as-block-last","args":[{"type":"i32","value":"0"}]}}</pre>
<pre>(assert_return (invoke "as-block-last" (i32.const 0)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":387,"action":{"type":"invoke","field":"as-block-last","args":[{"type":"i32","value":"1"}]}}</pre>
<pre>(assert_return (invoke "as-block-last" (i32.const 1)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":389,"action":{"type":"invoke","field":"as-block-first-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"11"}]}</pre>
<pre>(assert_return (invoke "as-block-first-value" (i32.const 0)) (i32.const 11))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":390,"action":{"type":"invoke","field":"as-block-first-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"10"}]}</pre>
<pre>(assert_return (invoke "as-block-first-value" (i32.const 1)) (i32.const 10))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":391,"action":{"type":"invoke","field":"as-block-mid-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"21"}]}</pre>
<pre>(assert_return (invoke "as-block-mid-value" (i32.const 0)) (i32.const 21))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":392,"action":{"type":"invoke","field":"as-block-mid-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"20"}]}</pre>
<pre>(assert_return (invoke "as-block-mid-value" (i32.const 1)) (i32.const 20))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":393,"action":{"type":"invoke","field":"as-block-last-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"11"}]}</pre>
<pre>(assert_return (invoke "as-block-last-value" (i32.const 0)) (i32.const 11))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":394,"action":{"type":"invoke","field":"as-block-last-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"11"}]}</pre>
<pre>(assert_return (invoke "as-block-last-value" (i32.const 1)) (i32.const 11))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":396,"action":{"type":"invoke","field":"as-loop-first","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}</pre>
<pre>(assert_return (invoke "as-loop-first" (i32.const 0)) (i32.const 2))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":397,"action":{"type":"invoke","field":"as-loop-first","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"3"}]}</pre>
<pre>(assert_return (invoke "as-loop-first" (i32.const 1)) (i32.const 3))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":398,"action":{"type":"invoke","field":"as-loop-mid","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}</pre>
<pre>(assert_return (invoke "as-loop-mid" (i32.const 0)) (i32.const 2))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":399,"action":{"type":"invoke","field":"as-loop-mid","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"4"}]}</pre>
<pre>(assert_return (invoke "as-loop-mid" (i32.const 1)) (i32.const 4))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":400,"action":{"type":"invoke","field":"as-loop-last","args":[{"type":"i32","value":"0"}]}}</pre>
<pre>(assert_return (invoke "as-loop-last" (i32.const 0)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":401,"action":{"type":"invoke","field":"as-loop-last","args":[{"type":"i32","value":"1"}]}}</pre>
<pre>(assert_return (invoke "as-loop-last" (i32.const 1)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":403,"action":{"type":"invoke","field":"as-br-value"},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-br-value") (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":405,"action":{"type":"invoke","field":"as-br_if-cond"}}</pre>
<pre>(assert_return (invoke "as-br_if-cond"))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":406,"action":{"type":"invoke","field":"as-br_if-value"},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-br_if-value") (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":407,"action":{"type":"invoke","field":"as-br_if-value-cond","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}</pre>
<pre>(assert_return (invoke "as-br_if-value-cond" (i32.const 0)) (i32.const 2))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":408,"action":{"type":"invoke","field":"as-br_if-value-cond","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-br_if-value-cond" (i32.const 1)) (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":410,"action":{"type":"invoke","field":"as-br_table-index"}}</pre>
<pre>(assert_return (invoke "as-br_table-index"))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":411,"action":{"type":"invoke","field":"as-br_table-value"},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-br_table-value") (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":412,"action":{"type":"invoke","field":"as-br_table-value-index"},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-br_table-value-index") (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":414,"action":{"type":"invoke","field":"as-return-value"},"expected":[{"type":"i64","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-return-value") (i64.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":416,"action":{"type":"invoke","field":"as-if-cond","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"2"}]}</pre>
<pre>(assert_return (invoke "as-if-cond" (i32.const 0)) (i32.const 2))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":417,"action":{"type":"invoke","field":"as-if-cond","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-if-cond" (i32.const 1)) (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":418,"action":{"type":"invoke","field":"as-if-then","args":[{"type":"i32","value":"0"},{"type":"i32","value":"0"}]}}</pre>
<pre>(assert_return (invoke "as-if-then" (i32.const 0) (i32.const 0)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":419,"action":{"type":"invoke","field":"as-if-then","args":[{"type":"i32","value":"4"},{"type":"i32","value":"0"}]}}</pre>
<pre>(assert_return (invoke "as-if-then" (i32.const 4) (i32.const 0)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":420,"action":{"type":"invoke","field":"as-if-then","args":[{"type":"i32","value":"0"},{"type":"i32","value":"1"}]}}</pre>
<pre>(assert_return (invoke "as-if-then" (i32.const 0) (i32.const 1)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":421,"action":{"type":"invoke","field":"as-if-then","args":[{"type":"i32","value":"4"},{"type":"i32","value":"1"}]}}</pre>
<pre>(assert_return (invoke "as-if-then" (i32.const 4) (i32.const 1)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":422,"action":{"type":"invoke","field":"as-if-else","args":[{"type":"i32","value":"0"},{"type":"i32","value":"0"}]}}</pre>
<pre>(assert_return (invoke "as-if-else" (i32.const 0) (i32.const 0)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":423,"action":{"type":"invoke","field":"as-if-else","args":[{"type":"i32","value":"3"},{"type":"i32","value":"0"}]}}</pre>
<pre>(assert_return (invoke "as-if-else" (i32.const 3) (i32.const 0)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":424,"action":{"type":"invoke","field":"as-if-else","args":[{"type":"i32","value":"0"},{"type":"i32","value":"1"}]}}</pre>
<pre>(assert_return (invoke "as-if-else" (i32.const 0) (i32.const 1)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":425,"action":{"type":"invoke","field":"as-if-else","args":[{"type":"i32","value":"3"},{"type":"i32","value":"1"}]}}</pre>
<pre>(assert_return (invoke "as-if-else" (i32.const 3) (i32.const 1)))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":427,"action":{"type":"invoke","field":"as-select-first","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"3"}]}</pre>
<pre>(assert_return (invoke "as-select-first" (i32.const 0)) (i32.const 3))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":428,"action":{"type":"invoke","field":"as-select-first","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"3"}]}</pre>
<pre>(assert_return (invoke "as-select-first" (i32.const 1)) (i32.const 3))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":429,"action":{"type":"invoke","field":"as-select-second","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"3"}]}</pre>
<pre>(assert_return (invoke "as-select-second" (i32.const 0)) (i32.const 3))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":430,"action":{"type":"invoke","field":"as-select-second","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"3"}]}</pre>
<pre>(assert_return (invoke "as-select-second" (i32.const 1)) (i32.const 3))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":431,"action":{"type":"invoke","field":"as-select-cond"},"expected":[{"type":"i32","value":"3"}]}</pre>
<pre>(assert_return (invoke "as-select-cond") (i32.const 3))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":433,"action":{"type":"invoke","field":"as-call-first"},"expected":[{"type":"i32","value":"12"}]}</pre>
<pre>(assert_return (invoke "as-call-first") (i32.const 12))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":434,"action":{"type":"invoke","field":"as-call-mid"},"expected":[{"type":"i32","value":"13"}]}</pre>
<pre>(assert_return (invoke "as-call-mid") (i32.const 13))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":435,"action":{"type":"invoke","field":"as-call-last"},"expected":[{"type":"i32","value":"14"}]}</pre>
<pre>(assert_return (invoke "as-call-last") (i32.const 14))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":437,"action":{"type":"invoke","field":"as-call_indirect-func"},"expected":[{"type":"i32","value":"4"}]}</pre>
<pre>(assert_return (invoke "as-call_indirect-func") (i32.const 4))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":438,"action":{"type":"invoke","field":"as-call_indirect-first"},"expected":[{"type":"i32","value":"4"}]}</pre>
<pre>(assert_return (invoke "as-call_indirect-first") (i32.const 4))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":439,"action":{"type":"invoke","field":"as-call_indirect-mid"},"expected":[{"type":"i32","value":"4"}]}</pre>
<pre>(assert_return (invoke "as-call_indirect-mid") (i32.const 4))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":440,"action":{"type":"invoke","field":"as-call_indirect-last"},"expected":[{"type":"i32","value":"4"}]}</pre>
<pre>(assert_return (invoke "as-call_indirect-last") (i32.const 4))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":442,"action":{"type":"invoke","field":"as-local.set-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"4294967295"}]}</pre>
<pre>(assert_return (invoke "as-local.set-value" (i32.const 0)) (i32.const -1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":443,"action":{"type":"invoke","field":"as-local.set-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"17"}]}</pre>
<pre>(assert_return (invoke "as-local.set-value" (i32.const 1)) (i32.const 17))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":445,"action":{"type":"invoke","field":"as-local.tee-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"4294967295"}]}</pre>
<pre>(assert_return (invoke "as-local.tee-value" (i32.const 0)) (i32.const -1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":446,"action":{"type":"invoke","field":"as-local.tee-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-local.tee-value" (i32.const 1)) (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":448,"action":{"type":"invoke","field":"as-global.set-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"4294967295"}]}</pre>
<pre>(assert_return (invoke "as-global.set-value" (i32.const 0)) (i32.const -1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":449,"action":{"type":"invoke","field":"as-global.set-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-global.set-value" (i32.const 1)) (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":451,"action":{"type":"invoke","field":"as-load-address"},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-load-address") (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":452,"action":{"type":"invoke","field":"as-loadN-address"},"expected":[{"type":"i32","value":"30"}]}</pre>
<pre>(assert_return (invoke "as-loadN-address") (i32.const 30))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":454,"action":{"type":"invoke","field":"as-store-address"},"expected":[{"type":"i32","value":"30"}]}</pre>
<pre>(assert_return (invoke "as-store-address") (i32.const 30))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":455,"action":{"type":"invoke","field":"as-store-value"},"expected":[{"type":"i32","value":"31"}]}</pre>
<pre>(assert_return (invoke "as-store-value") (i32.const 31))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":456,"action":{"type":"invoke","field":"as-storeN-address"},"expected":[{"type":"i32","value":"32"}]}</pre>
<pre>(assert_return (invoke "as-storeN-address") (i32.const 32))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":457,"action":{"type":"invoke","field":"as-storeN-value"},"expected":[{"type":"i32","value":"33"}]}</pre>
<pre>(assert_return (invoke "as-storeN-value") (i32.const 33))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":459,"action":{"type":"invoke","field":"as-unary-operand"},"expected":[{"type":"f64","value":"4607182418800017408"}]}</pre>
<pre>(assert_return (invoke "as-unary-operand") (f64.const 1.0))</pre>
<p style="background-color: red">error, wrong result, expected 4607182418800017408, got 61503</p>
<pre>{"type":"assert_return","line":460,"action":{"type":"invoke","field":"as-binary-left"},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-binary-left") (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":461,"action":{"type":"invoke","field":"as-binary-right"},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-binary-right") (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":462,"action":{"type":"invoke","field":"as-test-operand"},"expected":[{"type":"i32","value":"0"}]}</pre>
<pre>(assert_return (invoke "as-test-operand") (i32.const 0))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":463,"action":{"type":"invoke","field":"as-compare-left"},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-compare-left") (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":464,"action":{"type":"invoke","field":"as-compare-right"},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-compare-right") (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":465,"action":{"type":"invoke","field":"as-memory.grow-size"},"expected":[{"type":"i32","value":"1"}]}</pre>
<pre>(assert_return (invoke "as-memory.grow-size") (i32.const 1))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":467,"action":{"type":"invoke","field":"nested-block-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"21"}]}</pre>
<pre>(assert_return (invoke "nested-block-value" (i32.const 0)) (i32.const 21))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":468,"action":{"type":"invoke","field":"nested-block-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"9"}]}</pre>
<pre>(assert_return (invoke "nested-block-value" (i32.const 1)) (i32.const 9))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":469,"action":{"type":"invoke","field":"nested-br-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"5"}]}</pre>
<pre>(assert_return (invoke "nested-br-value" (i32.const 0)) (i32.const 5))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":470,"action":{"type":"invoke","field":"nested-br-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"9"}]}</pre>
<pre>(assert_return (invoke "nested-br-value" (i32.const 1)) (i32.const 9))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":471,"action":{"type":"invoke","field":"nested-br_if-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"5"}]}</pre>
<pre>(assert_return (invoke "nested-br_if-value" (i32.const 0)) (i32.const 5))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":472,"action":{"type":"invoke","field":"nested-br_if-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"9"}]}</pre>
<pre>(assert_return (invoke "nested-br_if-value" (i32.const 1)) (i32.const 9))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":473,"action":{"type":"invoke","field":"nested-br_if-value-cond","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"5"}]}</pre>
<pre>(assert_return (invoke "nested-br_if-value-cond" (i32.const 0)) (i32.const 5))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":474,"action":{"type":"invoke","field":"nested-br_if-value-cond","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"9"}]}</pre>
<pre>(assert_return (invoke "nested-br_if-value-cond" (i32.const 1)) (i32.const 9))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":475,"action":{"type":"invoke","field":"nested-br_table-value","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"5"}]}</pre>
<pre>(assert_return (invoke "nested-br_table-value" (i32.const 0)) (i32.const 5))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":476,"action":{"type":"invoke","field":"nested-br_table-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"9"}]}</pre>
<pre>(assert_return (invoke "nested-br_table-value" (i32.const 1)) (i32.const 9))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":477,"action":{"type":"invoke","field":"nested-br_table-value-index","args":[{"type":"i32","value":"0"}]},"expected":[{"type":"i32","value":"5"}]}</pre>
<pre>(assert_return (invoke "nested-br_table-value-index" (i32.const 0)) (i32.const 5))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_return","line":478,"action":{"type":"invoke","field":"nested-br_table-value-index","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"9"}]}</pre>
<pre>(assert_return (invoke "nested-br_table-value-index" (i32.const 1)) (i32.const 9))</pre>
<p style="background-color: green">ok, result</p>
<pre>{"type":"assert_invalid","line":481,"filename":"br_if.1.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":485,"filename":"br_if.2.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":489,"filename":"br_if.3.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":493,"filename":"br_if.4.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":498,"filename":"br_if.5.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":502,"filename":"br_if.6.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":506,"filename":"br_if.7.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":510,"filename":"br_if.8.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":515,"filename":"br_if.9.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":521,"filename":"br_if.10.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":527,"filename":"br_if.11.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":533,"filename":"br_if.12.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":540,"filename":"br_if.13.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":546,"filename":"br_if.14.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":552,"filename":"br_if.15.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":560,"filename":"br_if.16.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":569,"filename":"br_if.17.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":575,"filename":"br_if.18.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":581,"filename":"br_if.19.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":587,"filename":"br_if.20.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":593,"filename":"br_if.21.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":599,"filename":"br_if.22.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":606,"filename":"br_if.23.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":618,"filename":"br_if.24.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":630,"filename":"br_if.25.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":641,"filename":"br_if.26.wasm","text":"type mismatch"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":654,"filename":"br_if.27.wasm","text":"unknown label"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":658,"filename":"br_if.28.wasm","text":"unknown label"}</pre>
<p style="background-color: red">expected error</p>
<pre>{"type":"assert_invalid","line":662,"filename":"br_if.29.wasm","text":"unknown label"}</pre>
<p style="background-color: red">expected error</p>
<p>Generated at 2024-09-05T14:37:34</p>