Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
typecheck_tests.cpp
Go to the documentation of this file.
1// Generated by spec_test_generator. DO NOT MODIFY THIS FILE.
2
3#include <algorithm>
4#include <vector>
5#include <iostream>
6#include <iterator>
7#include <cmath>
8#include <cstdlib>
9#include <catch2/catch.hpp>
10#include <utils.hpp>
11#include <wasm_config.hpp>
12#include <sysio/vm/backend.hpp>
13
14using namespace sysio;
15using namespace sysio::vm;
16extern wasm_allocator wa;
17
18BACKEND_TEST_CASE( "Testing wasm <typecheck_0_wasm>", "[typecheck_0_wasm_tests]" ) {
20 auto code = read_wasm( std::string(wasm_directory) + "typecheck.0.wasm");
21 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
22}
23
24BACKEND_TEST_CASE( "Testing wasm <typecheck_1_wasm>", "[typecheck_1_wasm_tests]" ) {
26 auto code = read_wasm( std::string(wasm_directory) + "typecheck.1.wasm");
27 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
28}
29
30BACKEND_TEST_CASE( "Testing wasm <typecheck_10_wasm>", "[typecheck_10_wasm_tests]" ) {
32 auto code = read_wasm( std::string(wasm_directory) + "typecheck.10.wasm");
33 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
34}
35
36BACKEND_TEST_CASE( "Testing wasm <typecheck_100_wasm>", "[typecheck_100_wasm_tests]" ) {
38 auto code = read_wasm( std::string(wasm_directory) + "typecheck.100.wasm");
39 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
40}
41
42BACKEND_TEST_CASE( "Testing wasm <typecheck_101_wasm>", "[typecheck_101_wasm_tests]" ) {
44 auto code = read_wasm( std::string(wasm_directory) + "typecheck.101.wasm");
45 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
46}
47
48BACKEND_TEST_CASE( "Testing wasm <typecheck_102_wasm>", "[typecheck_102_wasm_tests]" ) {
50 auto code = read_wasm( std::string(wasm_directory) + "typecheck.102.wasm");
51 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
52}
53
54BACKEND_TEST_CASE( "Testing wasm <typecheck_103_wasm>", "[typecheck_103_wasm_tests]" ) {
56 auto code = read_wasm( std::string(wasm_directory) + "typecheck.103.wasm");
57 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
58}
59
60BACKEND_TEST_CASE( "Testing wasm <typecheck_104_wasm>", "[typecheck_104_wasm_tests]" ) {
62 auto code = read_wasm( std::string(wasm_directory) + "typecheck.104.wasm");
63 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
64}
65
66BACKEND_TEST_CASE( "Testing wasm <typecheck_105_wasm>", "[typecheck_105_wasm_tests]" ) {
68 auto code = read_wasm( std::string(wasm_directory) + "typecheck.105.wasm");
69 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
70}
71
72BACKEND_TEST_CASE( "Testing wasm <typecheck_106_wasm>", "[typecheck_106_wasm_tests]" ) {
74 auto code = read_wasm( std::string(wasm_directory) + "typecheck.106.wasm");
75 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
76}
77
78BACKEND_TEST_CASE( "Testing wasm <typecheck_107_wasm>", "[typecheck_107_wasm_tests]" ) {
80 auto code = read_wasm( std::string(wasm_directory) + "typecheck.107.wasm");
81 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
82}
83
84BACKEND_TEST_CASE( "Testing wasm <typecheck_108_wasm>", "[typecheck_108_wasm_tests]" ) {
86 auto code = read_wasm( std::string(wasm_directory) + "typecheck.108.wasm");
87 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
88}
89
90BACKEND_TEST_CASE( "Testing wasm <typecheck_109_wasm>", "[typecheck_109_wasm_tests]" ) {
92 auto code = read_wasm( std::string(wasm_directory) + "typecheck.109.wasm");
93 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
94}
95
96BACKEND_TEST_CASE( "Testing wasm <typecheck_11_wasm>", "[typecheck_11_wasm_tests]" ) {
98 auto code = read_wasm( std::string(wasm_directory) + "typecheck.11.wasm");
99 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
100}
101
102BACKEND_TEST_CASE( "Testing wasm <typecheck_110_wasm>", "[typecheck_110_wasm_tests]" ) {
104 auto code = read_wasm( std::string(wasm_directory) + "typecheck.110.wasm");
105 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
106}
107
108BACKEND_TEST_CASE( "Testing wasm <typecheck_111_wasm>", "[typecheck_111_wasm_tests]" ) {
110 auto code = read_wasm( std::string(wasm_directory) + "typecheck.111.wasm");
111 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
112}
113
114BACKEND_TEST_CASE( "Testing wasm <typecheck_112_wasm>", "[typecheck_112_wasm_tests]" ) {
116 auto code = read_wasm( std::string(wasm_directory) + "typecheck.112.wasm");
117 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
118}
119
120BACKEND_TEST_CASE( "Testing wasm <typecheck_113_wasm>", "[typecheck_113_wasm_tests]" ) {
122 auto code = read_wasm( std::string(wasm_directory) + "typecheck.113.wasm");
123 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
124}
125
126BACKEND_TEST_CASE( "Testing wasm <typecheck_114_wasm>", "[typecheck_114_wasm_tests]" ) {
128 auto code = read_wasm( std::string(wasm_directory) + "typecheck.114.wasm");
129 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
130}
131
132BACKEND_TEST_CASE( "Testing wasm <typecheck_115_wasm>", "[typecheck_115_wasm_tests]" ) {
134 auto code = read_wasm( std::string(wasm_directory) + "typecheck.115.wasm");
135 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
136}
137
138BACKEND_TEST_CASE( "Testing wasm <typecheck_116_wasm>", "[typecheck_116_wasm_tests]" ) {
140 auto code = read_wasm( std::string(wasm_directory) + "typecheck.116.wasm");
141 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
142}
143
144BACKEND_TEST_CASE( "Testing wasm <typecheck_117_wasm>", "[typecheck_117_wasm_tests]" ) {
146 auto code = read_wasm( std::string(wasm_directory) + "typecheck.117.wasm");
147 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
148}
149
150BACKEND_TEST_CASE( "Testing wasm <typecheck_118_wasm>", "[typecheck_118_wasm_tests]" ) {
152 auto code = read_wasm( std::string(wasm_directory) + "typecheck.118.wasm");
153 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
154}
155
156BACKEND_TEST_CASE( "Testing wasm <typecheck_119_wasm>", "[typecheck_119_wasm_tests]" ) {
158 auto code = read_wasm( std::string(wasm_directory) + "typecheck.119.wasm");
159 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
160}
161
162BACKEND_TEST_CASE( "Testing wasm <typecheck_12_wasm>", "[typecheck_12_wasm_tests]" ) {
164 auto code = read_wasm( std::string(wasm_directory) + "typecheck.12.wasm");
165 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
166}
167
168BACKEND_TEST_CASE( "Testing wasm <typecheck_120_wasm>", "[typecheck_120_wasm_tests]" ) {
170 auto code = read_wasm( std::string(wasm_directory) + "typecheck.120.wasm");
171 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
172}
173
174BACKEND_TEST_CASE( "Testing wasm <typecheck_121_wasm>", "[typecheck_121_wasm_tests]" ) {
176 auto code = read_wasm( std::string(wasm_directory) + "typecheck.121.wasm");
177 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
178}
179
180BACKEND_TEST_CASE( "Testing wasm <typecheck_122_wasm>", "[typecheck_122_wasm_tests]" ) {
182 auto code = read_wasm( std::string(wasm_directory) + "typecheck.122.wasm");
183 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
184}
185
186BACKEND_TEST_CASE( "Testing wasm <typecheck_123_wasm>", "[typecheck_123_wasm_tests]" ) {
188 auto code = read_wasm( std::string(wasm_directory) + "typecheck.123.wasm");
189 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
190}
191
192BACKEND_TEST_CASE( "Testing wasm <typecheck_124_wasm>", "[typecheck_124_wasm_tests]" ) {
194 auto code = read_wasm( std::string(wasm_directory) + "typecheck.124.wasm");
195 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
196}
197
198BACKEND_TEST_CASE( "Testing wasm <typecheck_125_wasm>", "[typecheck_125_wasm_tests]" ) {
200 auto code = read_wasm( std::string(wasm_directory) + "typecheck.125.wasm");
201 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
202}
203
204BACKEND_TEST_CASE( "Testing wasm <typecheck_126_wasm>", "[typecheck_126_wasm_tests]" ) {
206 auto code = read_wasm( std::string(wasm_directory) + "typecheck.126.wasm");
207 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
208}
209
210BACKEND_TEST_CASE( "Testing wasm <typecheck_127_wasm>", "[typecheck_127_wasm_tests]" ) {
212 auto code = read_wasm( std::string(wasm_directory) + "typecheck.127.wasm");
213 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
214}
215
216BACKEND_TEST_CASE( "Testing wasm <typecheck_128_wasm>", "[typecheck_128_wasm_tests]" ) {
218 auto code = read_wasm( std::string(wasm_directory) + "typecheck.128.wasm");
219 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
220}
221
222BACKEND_TEST_CASE( "Testing wasm <typecheck_129_wasm>", "[typecheck_129_wasm_tests]" ) {
224 auto code = read_wasm( std::string(wasm_directory) + "typecheck.129.wasm");
225 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
226}
227
228BACKEND_TEST_CASE( "Testing wasm <typecheck_13_wasm>", "[typecheck_13_wasm_tests]" ) {
230 auto code = read_wasm( std::string(wasm_directory) + "typecheck.13.wasm");
231 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
232}
233
234BACKEND_TEST_CASE( "Testing wasm <typecheck_130_wasm>", "[typecheck_130_wasm_tests]" ) {
236 auto code = read_wasm( std::string(wasm_directory) + "typecheck.130.wasm");
237 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
238}
239
240BACKEND_TEST_CASE( "Testing wasm <typecheck_131_wasm>", "[typecheck_131_wasm_tests]" ) {
242 auto code = read_wasm( std::string(wasm_directory) + "typecheck.131.wasm");
243 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
244}
245
246BACKEND_TEST_CASE( "Testing wasm <typecheck_132_wasm>", "[typecheck_132_wasm_tests]" ) {
248 auto code = read_wasm( std::string(wasm_directory) + "typecheck.132.wasm");
249 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
250}
251
252BACKEND_TEST_CASE( "Testing wasm <typecheck_133_wasm>", "[typecheck_133_wasm_tests]" ) {
254 auto code = read_wasm( std::string(wasm_directory) + "typecheck.133.wasm");
255 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
256}
257
258BACKEND_TEST_CASE( "Testing wasm <typecheck_134_wasm>", "[typecheck_134_wasm_tests]" ) {
260 auto code = read_wasm( std::string(wasm_directory) + "typecheck.134.wasm");
261 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
262}
263
264BACKEND_TEST_CASE( "Testing wasm <typecheck_135_wasm>", "[typecheck_135_wasm_tests]" ) {
266 auto code = read_wasm( std::string(wasm_directory) + "typecheck.135.wasm");
267 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
268}
269
270BACKEND_TEST_CASE( "Testing wasm <typecheck_136_wasm>", "[typecheck_136_wasm_tests]" ) {
272 auto code = read_wasm( std::string(wasm_directory) + "typecheck.136.wasm");
273 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
274}
275
276BACKEND_TEST_CASE( "Testing wasm <typecheck_137_wasm>", "[typecheck_137_wasm_tests]" ) {
278 auto code = read_wasm( std::string(wasm_directory) + "typecheck.137.wasm");
279 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
280}
281
282BACKEND_TEST_CASE( "Testing wasm <typecheck_138_wasm>", "[typecheck_138_wasm_tests]" ) {
284 auto code = read_wasm( std::string(wasm_directory) + "typecheck.138.wasm");
285 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
286}
287
288BACKEND_TEST_CASE( "Testing wasm <typecheck_139_wasm>", "[typecheck_139_wasm_tests]" ) {
290 auto code = read_wasm( std::string(wasm_directory) + "typecheck.139.wasm");
291 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
292}
293
294BACKEND_TEST_CASE( "Testing wasm <typecheck_14_wasm>", "[typecheck_14_wasm_tests]" ) {
296 auto code = read_wasm( std::string(wasm_directory) + "typecheck.14.wasm");
297 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
298}
299
300BACKEND_TEST_CASE( "Testing wasm <typecheck_140_wasm>", "[typecheck_140_wasm_tests]" ) {
302 auto code = read_wasm( std::string(wasm_directory) + "typecheck.140.wasm");
303 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
304}
305
306BACKEND_TEST_CASE( "Testing wasm <typecheck_141_wasm>", "[typecheck_141_wasm_tests]" ) {
308 auto code = read_wasm( std::string(wasm_directory) + "typecheck.141.wasm");
309 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
310}
311
312BACKEND_TEST_CASE( "Testing wasm <typecheck_142_wasm>", "[typecheck_142_wasm_tests]" ) {
314 auto code = read_wasm( std::string(wasm_directory) + "typecheck.142.wasm");
315 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
316}
317
318BACKEND_TEST_CASE( "Testing wasm <typecheck_143_wasm>", "[typecheck_143_wasm_tests]" ) {
320 auto code = read_wasm( std::string(wasm_directory) + "typecheck.143.wasm");
321 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
322}
323
324BACKEND_TEST_CASE( "Testing wasm <typecheck_144_wasm>", "[typecheck_144_wasm_tests]" ) {
326 auto code = read_wasm( std::string(wasm_directory) + "typecheck.144.wasm");
327 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
328}
329
330BACKEND_TEST_CASE( "Testing wasm <typecheck_145_wasm>", "[typecheck_145_wasm_tests]" ) {
332 auto code = read_wasm( std::string(wasm_directory) + "typecheck.145.wasm");
333 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
334}
335
336BACKEND_TEST_CASE( "Testing wasm <typecheck_146_wasm>", "[typecheck_146_wasm_tests]" ) {
338 auto code = read_wasm( std::string(wasm_directory) + "typecheck.146.wasm");
339 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
340}
341
342BACKEND_TEST_CASE( "Testing wasm <typecheck_147_wasm>", "[typecheck_147_wasm_tests]" ) {
344 auto code = read_wasm( std::string(wasm_directory) + "typecheck.147.wasm");
345 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
346}
347
348BACKEND_TEST_CASE( "Testing wasm <typecheck_148_wasm>", "[typecheck_148_wasm_tests]" ) {
350 auto code = read_wasm( std::string(wasm_directory) + "typecheck.148.wasm");
351 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
352}
353
354BACKEND_TEST_CASE( "Testing wasm <typecheck_149_wasm>", "[typecheck_149_wasm_tests]" ) {
356 auto code = read_wasm( std::string(wasm_directory) + "typecheck.149.wasm");
357 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
358}
359
360BACKEND_TEST_CASE( "Testing wasm <typecheck_15_wasm>", "[typecheck_15_wasm_tests]" ) {
362 auto code = read_wasm( std::string(wasm_directory) + "typecheck.15.wasm");
363 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
364}
365
366BACKEND_TEST_CASE( "Testing wasm <typecheck_150_wasm>", "[typecheck_150_wasm_tests]" ) {
368 auto code = read_wasm( std::string(wasm_directory) + "typecheck.150.wasm");
369 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
370}
371
372BACKEND_TEST_CASE( "Testing wasm <typecheck_151_wasm>", "[typecheck_151_wasm_tests]" ) {
374 auto code = read_wasm( std::string(wasm_directory) + "typecheck.151.wasm");
375 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
376}
377
378BACKEND_TEST_CASE( "Testing wasm <typecheck_152_wasm>", "[typecheck_152_wasm_tests]" ) {
380 auto code = read_wasm( std::string(wasm_directory) + "typecheck.152.wasm");
381 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
382}
383
384BACKEND_TEST_CASE( "Testing wasm <typecheck_153_wasm>", "[typecheck_153_wasm_tests]" ) {
386 auto code = read_wasm( std::string(wasm_directory) + "typecheck.153.wasm");
387 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
388}
389
390BACKEND_TEST_CASE( "Testing wasm <typecheck_154_wasm>", "[typecheck_154_wasm_tests]" ) {
392 auto code = read_wasm( std::string(wasm_directory) + "typecheck.154.wasm");
393 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
394}
395
396BACKEND_TEST_CASE( "Testing wasm <typecheck_155_wasm>", "[typecheck_155_wasm_tests]" ) {
398 auto code = read_wasm( std::string(wasm_directory) + "typecheck.155.wasm");
399 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
400}
401
402BACKEND_TEST_CASE( "Testing wasm <typecheck_156_wasm>", "[typecheck_156_wasm_tests]" ) {
404 auto code = read_wasm( std::string(wasm_directory) + "typecheck.156.wasm");
405 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
406}
407
408BACKEND_TEST_CASE( "Testing wasm <typecheck_157_wasm>", "[typecheck_157_wasm_tests]" ) {
410 auto code = read_wasm( std::string(wasm_directory) + "typecheck.157.wasm");
411 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
412}
413
414BACKEND_TEST_CASE( "Testing wasm <typecheck_158_wasm>", "[typecheck_158_wasm_tests]" ) {
416 auto code = read_wasm( std::string(wasm_directory) + "typecheck.158.wasm");
417 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
418}
419
420BACKEND_TEST_CASE( "Testing wasm <typecheck_159_wasm>", "[typecheck_159_wasm_tests]" ) {
422 auto code = read_wasm( std::string(wasm_directory) + "typecheck.159.wasm");
423 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
424}
425
426BACKEND_TEST_CASE( "Testing wasm <typecheck_16_wasm>", "[typecheck_16_wasm_tests]" ) {
428 auto code = read_wasm( std::string(wasm_directory) + "typecheck.16.wasm");
429 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
430}
431
432BACKEND_TEST_CASE( "Testing wasm <typecheck_160_wasm>", "[typecheck_160_wasm_tests]" ) {
434 auto code = read_wasm( std::string(wasm_directory) + "typecheck.160.wasm");
435 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
436}
437
438BACKEND_TEST_CASE( "Testing wasm <typecheck_161_wasm>", "[typecheck_161_wasm_tests]" ) {
440 auto code = read_wasm( std::string(wasm_directory) + "typecheck.161.wasm");
441 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
442}
443
444BACKEND_TEST_CASE( "Testing wasm <typecheck_162_wasm>", "[typecheck_162_wasm_tests]" ) {
446 auto code = read_wasm( std::string(wasm_directory) + "typecheck.162.wasm");
447 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
448}
449
450BACKEND_TEST_CASE( "Testing wasm <typecheck_163_wasm>", "[typecheck_163_wasm_tests]" ) {
452 auto code = read_wasm( std::string(wasm_directory) + "typecheck.163.wasm");
453 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
454}
455
456BACKEND_TEST_CASE( "Testing wasm <typecheck_17_wasm>", "[typecheck_17_wasm_tests]" ) {
458 auto code = read_wasm( std::string(wasm_directory) + "typecheck.17.wasm");
459 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
460}
461
462BACKEND_TEST_CASE( "Testing wasm <typecheck_18_wasm>", "[typecheck_18_wasm_tests]" ) {
464 auto code = read_wasm( std::string(wasm_directory) + "typecheck.18.wasm");
465 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
466}
467
468BACKEND_TEST_CASE( "Testing wasm <typecheck_19_wasm>", "[typecheck_19_wasm_tests]" ) {
470 auto code = read_wasm( std::string(wasm_directory) + "typecheck.19.wasm");
471 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
472}
473
474BACKEND_TEST_CASE( "Testing wasm <typecheck_2_wasm>", "[typecheck_2_wasm_tests]" ) {
476 auto code = read_wasm( std::string(wasm_directory) + "typecheck.2.wasm");
477 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
478}
479
480BACKEND_TEST_CASE( "Testing wasm <typecheck_20_wasm>", "[typecheck_20_wasm_tests]" ) {
482 auto code = read_wasm( std::string(wasm_directory) + "typecheck.20.wasm");
483 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
484}
485
486BACKEND_TEST_CASE( "Testing wasm <typecheck_21_wasm>", "[typecheck_21_wasm_tests]" ) {
488 auto code = read_wasm( std::string(wasm_directory) + "typecheck.21.wasm");
489 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
490}
491
492BACKEND_TEST_CASE( "Testing wasm <typecheck_22_wasm>", "[typecheck_22_wasm_tests]" ) {
494 auto code = read_wasm( std::string(wasm_directory) + "typecheck.22.wasm");
495 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
496}
497
498BACKEND_TEST_CASE( "Testing wasm <typecheck_23_wasm>", "[typecheck_23_wasm_tests]" ) {
500 auto code = read_wasm( std::string(wasm_directory) + "typecheck.23.wasm");
501 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
502}
503
504BACKEND_TEST_CASE( "Testing wasm <typecheck_24_wasm>", "[typecheck_24_wasm_tests]" ) {
506 auto code = read_wasm( std::string(wasm_directory) + "typecheck.24.wasm");
507 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
508}
509
510BACKEND_TEST_CASE( "Testing wasm <typecheck_25_wasm>", "[typecheck_25_wasm_tests]" ) {
512 auto code = read_wasm( std::string(wasm_directory) + "typecheck.25.wasm");
513 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
514}
515
516BACKEND_TEST_CASE( "Testing wasm <typecheck_26_wasm>", "[typecheck_26_wasm_tests]" ) {
518 auto code = read_wasm( std::string(wasm_directory) + "typecheck.26.wasm");
519 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
520}
521
522BACKEND_TEST_CASE( "Testing wasm <typecheck_27_wasm>", "[typecheck_27_wasm_tests]" ) {
524 auto code = read_wasm( std::string(wasm_directory) + "typecheck.27.wasm");
525 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
526}
527
528BACKEND_TEST_CASE( "Testing wasm <typecheck_28_wasm>", "[typecheck_28_wasm_tests]" ) {
530 auto code = read_wasm( std::string(wasm_directory) + "typecheck.28.wasm");
531 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
532}
533
534BACKEND_TEST_CASE( "Testing wasm <typecheck_29_wasm>", "[typecheck_29_wasm_tests]" ) {
536 auto code = read_wasm( std::string(wasm_directory) + "typecheck.29.wasm");
537 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
538}
539
540BACKEND_TEST_CASE( "Testing wasm <typecheck_3_wasm>", "[typecheck_3_wasm_tests]" ) {
542 auto code = read_wasm( std::string(wasm_directory) + "typecheck.3.wasm");
543 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
544}
545
546BACKEND_TEST_CASE( "Testing wasm <typecheck_30_wasm>", "[typecheck_30_wasm_tests]" ) {
548 auto code = read_wasm( std::string(wasm_directory) + "typecheck.30.wasm");
549 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
550}
551
552BACKEND_TEST_CASE( "Testing wasm <typecheck_31_wasm>", "[typecheck_31_wasm_tests]" ) {
554 auto code = read_wasm( std::string(wasm_directory) + "typecheck.31.wasm");
555 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
556}
557
558BACKEND_TEST_CASE( "Testing wasm <typecheck_32_wasm>", "[typecheck_32_wasm_tests]" ) {
560 auto code = read_wasm( std::string(wasm_directory) + "typecheck.32.wasm");
561 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
562}
563
564BACKEND_TEST_CASE( "Testing wasm <typecheck_33_wasm>", "[typecheck_33_wasm_tests]" ) {
566 auto code = read_wasm( std::string(wasm_directory) + "typecheck.33.wasm");
567 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
568}
569
570BACKEND_TEST_CASE( "Testing wasm <typecheck_34_wasm>", "[typecheck_34_wasm_tests]" ) {
572 auto code = read_wasm( std::string(wasm_directory) + "typecheck.34.wasm");
573 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
574}
575
576BACKEND_TEST_CASE( "Testing wasm <typecheck_35_wasm>", "[typecheck_35_wasm_tests]" ) {
578 auto code = read_wasm( std::string(wasm_directory) + "typecheck.35.wasm");
579 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
580}
581
582BACKEND_TEST_CASE( "Testing wasm <typecheck_36_wasm>", "[typecheck_36_wasm_tests]" ) {
584 auto code = read_wasm( std::string(wasm_directory) + "typecheck.36.wasm");
585 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
586}
587
588BACKEND_TEST_CASE( "Testing wasm <typecheck_37_wasm>", "[typecheck_37_wasm_tests]" ) {
590 auto code = read_wasm( std::string(wasm_directory) + "typecheck.37.wasm");
591 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
592}
593
594BACKEND_TEST_CASE( "Testing wasm <typecheck_38_wasm>", "[typecheck_38_wasm_tests]" ) {
596 auto code = read_wasm( std::string(wasm_directory) + "typecheck.38.wasm");
597 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
598}
599
600BACKEND_TEST_CASE( "Testing wasm <typecheck_39_wasm>", "[typecheck_39_wasm_tests]" ) {
602 auto code = read_wasm( std::string(wasm_directory) + "typecheck.39.wasm");
603 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
604}
605
606BACKEND_TEST_CASE( "Testing wasm <typecheck_4_wasm>", "[typecheck_4_wasm_tests]" ) {
608 auto code = read_wasm( std::string(wasm_directory) + "typecheck.4.wasm");
609 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
610}
611
612BACKEND_TEST_CASE( "Testing wasm <typecheck_40_wasm>", "[typecheck_40_wasm_tests]" ) {
614 auto code = read_wasm( std::string(wasm_directory) + "typecheck.40.wasm");
615 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
616}
617
618BACKEND_TEST_CASE( "Testing wasm <typecheck_41_wasm>", "[typecheck_41_wasm_tests]" ) {
620 auto code = read_wasm( std::string(wasm_directory) + "typecheck.41.wasm");
621 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
622}
623
624BACKEND_TEST_CASE( "Testing wasm <typecheck_42_wasm>", "[typecheck_42_wasm_tests]" ) {
626 auto code = read_wasm( std::string(wasm_directory) + "typecheck.42.wasm");
627 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
628}
629
630BACKEND_TEST_CASE( "Testing wasm <typecheck_43_wasm>", "[typecheck_43_wasm_tests]" ) {
632 auto code = read_wasm( std::string(wasm_directory) + "typecheck.43.wasm");
633 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
634}
635
636BACKEND_TEST_CASE( "Testing wasm <typecheck_44_wasm>", "[typecheck_44_wasm_tests]" ) {
638 auto code = read_wasm( std::string(wasm_directory) + "typecheck.44.wasm");
639 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
640}
641
642BACKEND_TEST_CASE( "Testing wasm <typecheck_45_wasm>", "[typecheck_45_wasm_tests]" ) {
644 auto code = read_wasm( std::string(wasm_directory) + "typecheck.45.wasm");
645 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
646}
647
648BACKEND_TEST_CASE( "Testing wasm <typecheck_46_wasm>", "[typecheck_46_wasm_tests]" ) {
650 auto code = read_wasm( std::string(wasm_directory) + "typecheck.46.wasm");
651 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
652}
653
654BACKEND_TEST_CASE( "Testing wasm <typecheck_47_wasm>", "[typecheck_47_wasm_tests]" ) {
656 auto code = read_wasm( std::string(wasm_directory) + "typecheck.47.wasm");
657 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
658}
659
660BACKEND_TEST_CASE( "Testing wasm <typecheck_48_wasm>", "[typecheck_48_wasm_tests]" ) {
662 auto code = read_wasm( std::string(wasm_directory) + "typecheck.48.wasm");
663 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
664}
665
666BACKEND_TEST_CASE( "Testing wasm <typecheck_49_wasm>", "[typecheck_49_wasm_tests]" ) {
668 auto code = read_wasm( std::string(wasm_directory) + "typecheck.49.wasm");
669 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
670}
671
672BACKEND_TEST_CASE( "Testing wasm <typecheck_5_wasm>", "[typecheck_5_wasm_tests]" ) {
674 auto code = read_wasm( std::string(wasm_directory) + "typecheck.5.wasm");
675 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
676}
677
678BACKEND_TEST_CASE( "Testing wasm <typecheck_50_wasm>", "[typecheck_50_wasm_tests]" ) {
680 auto code = read_wasm( std::string(wasm_directory) + "typecheck.50.wasm");
681 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
682}
683
684BACKEND_TEST_CASE( "Testing wasm <typecheck_51_wasm>", "[typecheck_51_wasm_tests]" ) {
686 auto code = read_wasm( std::string(wasm_directory) + "typecheck.51.wasm");
687 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
688}
689
690BACKEND_TEST_CASE( "Testing wasm <typecheck_52_wasm>", "[typecheck_52_wasm_tests]" ) {
692 auto code = read_wasm( std::string(wasm_directory) + "typecheck.52.wasm");
693 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
694}
695
696BACKEND_TEST_CASE( "Testing wasm <typecheck_53_wasm>", "[typecheck_53_wasm_tests]" ) {
698 auto code = read_wasm( std::string(wasm_directory) + "typecheck.53.wasm");
699 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
700}
701
702BACKEND_TEST_CASE( "Testing wasm <typecheck_54_wasm>", "[typecheck_54_wasm_tests]" ) {
704 auto code = read_wasm( std::string(wasm_directory) + "typecheck.54.wasm");
705 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
706}
707
708BACKEND_TEST_CASE( "Testing wasm <typecheck_55_wasm>", "[typecheck_55_wasm_tests]" ) {
710 auto code = read_wasm( std::string(wasm_directory) + "typecheck.55.wasm");
711 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
712}
713
714BACKEND_TEST_CASE( "Testing wasm <typecheck_56_wasm>", "[typecheck_56_wasm_tests]" ) {
716 auto code = read_wasm( std::string(wasm_directory) + "typecheck.56.wasm");
717 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
718}
719
720BACKEND_TEST_CASE( "Testing wasm <typecheck_57_wasm>", "[typecheck_57_wasm_tests]" ) {
722 auto code = read_wasm( std::string(wasm_directory) + "typecheck.57.wasm");
723 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
724}
725
726BACKEND_TEST_CASE( "Testing wasm <typecheck_58_wasm>", "[typecheck_58_wasm_tests]" ) {
728 auto code = read_wasm( std::string(wasm_directory) + "typecheck.58.wasm");
729 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
730}
731
732BACKEND_TEST_CASE( "Testing wasm <typecheck_59_wasm>", "[typecheck_59_wasm_tests]" ) {
734 auto code = read_wasm( std::string(wasm_directory) + "typecheck.59.wasm");
735 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
736}
737
738BACKEND_TEST_CASE( "Testing wasm <typecheck_6_wasm>", "[typecheck_6_wasm_tests]" ) {
740 auto code = read_wasm( std::string(wasm_directory) + "typecheck.6.wasm");
741 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
742}
743
744BACKEND_TEST_CASE( "Testing wasm <typecheck_60_wasm>", "[typecheck_60_wasm_tests]" ) {
746 auto code = read_wasm( std::string(wasm_directory) + "typecheck.60.wasm");
747 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
748}
749
750BACKEND_TEST_CASE( "Testing wasm <typecheck_61_wasm>", "[typecheck_61_wasm_tests]" ) {
752 auto code = read_wasm( std::string(wasm_directory) + "typecheck.61.wasm");
753 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
754}
755
756BACKEND_TEST_CASE( "Testing wasm <typecheck_62_wasm>", "[typecheck_62_wasm_tests]" ) {
758 auto code = read_wasm( std::string(wasm_directory) + "typecheck.62.wasm");
759 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
760}
761
762BACKEND_TEST_CASE( "Testing wasm <typecheck_63_wasm>", "[typecheck_63_wasm_tests]" ) {
764 auto code = read_wasm( std::string(wasm_directory) + "typecheck.63.wasm");
765 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
766}
767
768BACKEND_TEST_CASE( "Testing wasm <typecheck_64_wasm>", "[typecheck_64_wasm_tests]" ) {
770 auto code = read_wasm( std::string(wasm_directory) + "typecheck.64.wasm");
771 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
772}
773
774BACKEND_TEST_CASE( "Testing wasm <typecheck_65_wasm>", "[typecheck_65_wasm_tests]" ) {
776 auto code = read_wasm( std::string(wasm_directory) + "typecheck.65.wasm");
777 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
778}
779
780BACKEND_TEST_CASE( "Testing wasm <typecheck_66_wasm>", "[typecheck_66_wasm_tests]" ) {
782 auto code = read_wasm( std::string(wasm_directory) + "typecheck.66.wasm");
783 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
784}
785
786BACKEND_TEST_CASE( "Testing wasm <typecheck_67_wasm>", "[typecheck_67_wasm_tests]" ) {
788 auto code = read_wasm( std::string(wasm_directory) + "typecheck.67.wasm");
789 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
790}
791
792BACKEND_TEST_CASE( "Testing wasm <typecheck_68_wasm>", "[typecheck_68_wasm_tests]" ) {
794 auto code = read_wasm( std::string(wasm_directory) + "typecheck.68.wasm");
795 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
796}
797
798BACKEND_TEST_CASE( "Testing wasm <typecheck_69_wasm>", "[typecheck_69_wasm_tests]" ) {
800 auto code = read_wasm( std::string(wasm_directory) + "typecheck.69.wasm");
801 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
802}
803
804BACKEND_TEST_CASE( "Testing wasm <typecheck_7_wasm>", "[typecheck_7_wasm_tests]" ) {
806 auto code = read_wasm( std::string(wasm_directory) + "typecheck.7.wasm");
807 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
808}
809
810BACKEND_TEST_CASE( "Testing wasm <typecheck_70_wasm>", "[typecheck_70_wasm_tests]" ) {
812 auto code = read_wasm( std::string(wasm_directory) + "typecheck.70.wasm");
813 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
814}
815
816BACKEND_TEST_CASE( "Testing wasm <typecheck_71_wasm>", "[typecheck_71_wasm_tests]" ) {
818 auto code = read_wasm( std::string(wasm_directory) + "typecheck.71.wasm");
819 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
820}
821
822BACKEND_TEST_CASE( "Testing wasm <typecheck_72_wasm>", "[typecheck_72_wasm_tests]" ) {
824 auto code = read_wasm( std::string(wasm_directory) + "typecheck.72.wasm");
825 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
826}
827
828BACKEND_TEST_CASE( "Testing wasm <typecheck_73_wasm>", "[typecheck_73_wasm_tests]" ) {
830 auto code = read_wasm( std::string(wasm_directory) + "typecheck.73.wasm");
831 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
832}
833
834BACKEND_TEST_CASE( "Testing wasm <typecheck_74_wasm>", "[typecheck_74_wasm_tests]" ) {
836 auto code = read_wasm( std::string(wasm_directory) + "typecheck.74.wasm");
837 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
838}
839
840BACKEND_TEST_CASE( "Testing wasm <typecheck_75_wasm>", "[typecheck_75_wasm_tests]" ) {
842 auto code = read_wasm( std::string(wasm_directory) + "typecheck.75.wasm");
843 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
844}
845
846BACKEND_TEST_CASE( "Testing wasm <typecheck_76_wasm>", "[typecheck_76_wasm_tests]" ) {
848 auto code = read_wasm( std::string(wasm_directory) + "typecheck.76.wasm");
849 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
850}
851
852BACKEND_TEST_CASE( "Testing wasm <typecheck_77_wasm>", "[typecheck_77_wasm_tests]" ) {
854 auto code = read_wasm( std::string(wasm_directory) + "typecheck.77.wasm");
855 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
856}
857
858BACKEND_TEST_CASE( "Testing wasm <typecheck_78_wasm>", "[typecheck_78_wasm_tests]" ) {
860 auto code = read_wasm( std::string(wasm_directory) + "typecheck.78.wasm");
861 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
862}
863
864BACKEND_TEST_CASE( "Testing wasm <typecheck_79_wasm>", "[typecheck_79_wasm_tests]" ) {
866 auto code = read_wasm( std::string(wasm_directory) + "typecheck.79.wasm");
867 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
868}
869
870BACKEND_TEST_CASE( "Testing wasm <typecheck_8_wasm>", "[typecheck_8_wasm_tests]" ) {
872 auto code = read_wasm( std::string(wasm_directory) + "typecheck.8.wasm");
873 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
874}
875
876BACKEND_TEST_CASE( "Testing wasm <typecheck_80_wasm>", "[typecheck_80_wasm_tests]" ) {
878 auto code = read_wasm( std::string(wasm_directory) + "typecheck.80.wasm");
879 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
880}
881
882BACKEND_TEST_CASE( "Testing wasm <typecheck_81_wasm>", "[typecheck_81_wasm_tests]" ) {
884 auto code = read_wasm( std::string(wasm_directory) + "typecheck.81.wasm");
885 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
886}
887
888BACKEND_TEST_CASE( "Testing wasm <typecheck_82_wasm>", "[typecheck_82_wasm_tests]" ) {
890 auto code = read_wasm( std::string(wasm_directory) + "typecheck.82.wasm");
891 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
892}
893
894BACKEND_TEST_CASE( "Testing wasm <typecheck_83_wasm>", "[typecheck_83_wasm_tests]" ) {
896 auto code = read_wasm( std::string(wasm_directory) + "typecheck.83.wasm");
897 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
898}
899
900BACKEND_TEST_CASE( "Testing wasm <typecheck_84_wasm>", "[typecheck_84_wasm_tests]" ) {
902 auto code = read_wasm( std::string(wasm_directory) + "typecheck.84.wasm");
903 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
904}
905
906BACKEND_TEST_CASE( "Testing wasm <typecheck_85_wasm>", "[typecheck_85_wasm_tests]" ) {
908 auto code = read_wasm( std::string(wasm_directory) + "typecheck.85.wasm");
909 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
910}
911
912BACKEND_TEST_CASE( "Testing wasm <typecheck_86_wasm>", "[typecheck_86_wasm_tests]" ) {
914 auto code = read_wasm( std::string(wasm_directory) + "typecheck.86.wasm");
915 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
916}
917
918BACKEND_TEST_CASE( "Testing wasm <typecheck_87_wasm>", "[typecheck_87_wasm_tests]" ) {
920 auto code = read_wasm( std::string(wasm_directory) + "typecheck.87.wasm");
921 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
922}
923
924BACKEND_TEST_CASE( "Testing wasm <typecheck_88_wasm>", "[typecheck_88_wasm_tests]" ) {
926 auto code = read_wasm( std::string(wasm_directory) + "typecheck.88.wasm");
927 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
928}
929
930BACKEND_TEST_CASE( "Testing wasm <typecheck_89_wasm>", "[typecheck_89_wasm_tests]" ) {
932 auto code = read_wasm( std::string(wasm_directory) + "typecheck.89.wasm");
933 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
934}
935
936BACKEND_TEST_CASE( "Testing wasm <typecheck_9_wasm>", "[typecheck_9_wasm_tests]" ) {
938 auto code = read_wasm( std::string(wasm_directory) + "typecheck.9.wasm");
939 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
940}
941
942BACKEND_TEST_CASE( "Testing wasm <typecheck_90_wasm>", "[typecheck_90_wasm_tests]" ) {
944 auto code = read_wasm( std::string(wasm_directory) + "typecheck.90.wasm");
945 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
946}
947
948BACKEND_TEST_CASE( "Testing wasm <typecheck_91_wasm>", "[typecheck_91_wasm_tests]" ) {
950 auto code = read_wasm( std::string(wasm_directory) + "typecheck.91.wasm");
951 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
952}
953
954BACKEND_TEST_CASE( "Testing wasm <typecheck_92_wasm>", "[typecheck_92_wasm_tests]" ) {
956 auto code = read_wasm( std::string(wasm_directory) + "typecheck.92.wasm");
957 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
958}
959
960BACKEND_TEST_CASE( "Testing wasm <typecheck_93_wasm>", "[typecheck_93_wasm_tests]" ) {
962 auto code = read_wasm( std::string(wasm_directory) + "typecheck.93.wasm");
963 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
964}
965
966BACKEND_TEST_CASE( "Testing wasm <typecheck_94_wasm>", "[typecheck_94_wasm_tests]" ) {
968 auto code = read_wasm( std::string(wasm_directory) + "typecheck.94.wasm");
969 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
970}
971
972BACKEND_TEST_CASE( "Testing wasm <typecheck_95_wasm>", "[typecheck_95_wasm_tests]" ) {
974 auto code = read_wasm( std::string(wasm_directory) + "typecheck.95.wasm");
975 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
976}
977
978BACKEND_TEST_CASE( "Testing wasm <typecheck_96_wasm>", "[typecheck_96_wasm_tests]" ) {
980 auto code = read_wasm( std::string(wasm_directory) + "typecheck.96.wasm");
981 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
982}
983
984BACKEND_TEST_CASE( "Testing wasm <typecheck_97_wasm>", "[typecheck_97_wasm_tests]" ) {
986 auto code = read_wasm( std::string(wasm_directory) + "typecheck.97.wasm");
987 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
988}
989
990BACKEND_TEST_CASE( "Testing wasm <typecheck_98_wasm>", "[typecheck_98_wasm_tests]" ) {
992 auto code = read_wasm( std::string(wasm_directory) + "typecheck.98.wasm");
993 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
994}
995
996BACKEND_TEST_CASE( "Testing wasm <typecheck_99_wasm>", "[typecheck_99_wasm_tests]" ) {
998 auto code = read_wasm( std::string(wasm_directory) + "typecheck.99.wasm");
999 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1000}
1001
sysio::vm::backend< rhf_t > backend_t
#define CHECK_THROWS_AS(expr, exceptionType)
Definition catch.hpp:203
std::vector< uint8_t > read_wasm(const std::string &fname)
Definition utils.hpp:30
#define BACKEND_TEST_CASE(name, tags)
Definition utils.hpp:59
wasm_allocator wa
Definition main.cpp:10