Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
utf8-import-module_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 <utf8-import-module_0_wasm>", "[utf8-import-module_0_wasm_tests]" ) {
20 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.0.wasm");
21 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
22}
23
24BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_1_wasm>", "[utf8-import-module_1_wasm_tests]" ) {
26 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.1.wasm");
27 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
28}
29
30BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_10_wasm>", "[utf8-import-module_10_wasm_tests]" ) {
32 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.10.wasm");
33 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
34}
35
36BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_100_wasm>", "[utf8-import-module_100_wasm_tests]" ) {
38 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.100.wasm");
39 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
40}
41
42BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_101_wasm>", "[utf8-import-module_101_wasm_tests]" ) {
44 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.101.wasm");
45 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
46}
47
48BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_102_wasm>", "[utf8-import-module_102_wasm_tests]" ) {
50 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.102.wasm");
51 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
52}
53
54BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_103_wasm>", "[utf8-import-module_103_wasm_tests]" ) {
56 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.103.wasm");
57 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
58}
59
60BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_104_wasm>", "[utf8-import-module_104_wasm_tests]" ) {
62 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.104.wasm");
63 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
64}
65
66BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_105_wasm>", "[utf8-import-module_105_wasm_tests]" ) {
68 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.105.wasm");
69 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
70}
71
72BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_106_wasm>", "[utf8-import-module_106_wasm_tests]" ) {
74 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.106.wasm");
75 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
76}
77
78BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_107_wasm>", "[utf8-import-module_107_wasm_tests]" ) {
80 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.107.wasm");
81 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
82}
83
84BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_108_wasm>", "[utf8-import-module_108_wasm_tests]" ) {
86 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.108.wasm");
87 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
88}
89
90BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_109_wasm>", "[utf8-import-module_109_wasm_tests]" ) {
92 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.109.wasm");
93 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
94}
95
96BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_11_wasm>", "[utf8-import-module_11_wasm_tests]" ) {
98 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.11.wasm");
99 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
100}
101
102BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_110_wasm>", "[utf8-import-module_110_wasm_tests]" ) {
104 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.110.wasm");
105 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
106}
107
108BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_111_wasm>", "[utf8-import-module_111_wasm_tests]" ) {
110 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.111.wasm");
111 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
112}
113
114BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_112_wasm>", "[utf8-import-module_112_wasm_tests]" ) {
116 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.112.wasm");
117 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
118}
119
120BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_113_wasm>", "[utf8-import-module_113_wasm_tests]" ) {
122 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.113.wasm");
123 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
124}
125
126BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_114_wasm>", "[utf8-import-module_114_wasm_tests]" ) {
128 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.114.wasm");
129 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
130}
131
132BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_115_wasm>", "[utf8-import-module_115_wasm_tests]" ) {
134 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.115.wasm");
135 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
136}
137
138BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_116_wasm>", "[utf8-import-module_116_wasm_tests]" ) {
140 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.116.wasm");
141 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
142}
143
144BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_117_wasm>", "[utf8-import-module_117_wasm_tests]" ) {
146 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.117.wasm");
147 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
148}
149
150BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_118_wasm>", "[utf8-import-module_118_wasm_tests]" ) {
152 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.118.wasm");
153 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
154}
155
156BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_119_wasm>", "[utf8-import-module_119_wasm_tests]" ) {
158 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.119.wasm");
159 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
160}
161
162BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_12_wasm>", "[utf8-import-module_12_wasm_tests]" ) {
164 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.12.wasm");
165 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
166}
167
168BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_120_wasm>", "[utf8-import-module_120_wasm_tests]" ) {
170 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.120.wasm");
171 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
172}
173
174BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_121_wasm>", "[utf8-import-module_121_wasm_tests]" ) {
176 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.121.wasm");
177 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
178}
179
180BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_122_wasm>", "[utf8-import-module_122_wasm_tests]" ) {
182 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.122.wasm");
183 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
184}
185
186BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_123_wasm>", "[utf8-import-module_123_wasm_tests]" ) {
188 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.123.wasm");
189 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
190}
191
192BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_124_wasm>", "[utf8-import-module_124_wasm_tests]" ) {
194 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.124.wasm");
195 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
196}
197
198BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_125_wasm>", "[utf8-import-module_125_wasm_tests]" ) {
200 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.125.wasm");
201 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
202}
203
204BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_126_wasm>", "[utf8-import-module_126_wasm_tests]" ) {
206 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.126.wasm");
207 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
208}
209
210BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_127_wasm>", "[utf8-import-module_127_wasm_tests]" ) {
212 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.127.wasm");
213 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
214}
215
216BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_128_wasm>", "[utf8-import-module_128_wasm_tests]" ) {
218 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.128.wasm");
219 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
220}
221
222BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_129_wasm>", "[utf8-import-module_129_wasm_tests]" ) {
224 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.129.wasm");
225 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
226}
227
228BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_13_wasm>", "[utf8-import-module_13_wasm_tests]" ) {
230 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.13.wasm");
231 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
232}
233
234BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_130_wasm>", "[utf8-import-module_130_wasm_tests]" ) {
236 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.130.wasm");
237 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
238}
239
240BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_131_wasm>", "[utf8-import-module_131_wasm_tests]" ) {
242 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.131.wasm");
243 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
244}
245
246BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_132_wasm>", "[utf8-import-module_132_wasm_tests]" ) {
248 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.132.wasm");
249 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
250}
251
252BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_133_wasm>", "[utf8-import-module_133_wasm_tests]" ) {
254 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.133.wasm");
255 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
256}
257
258BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_134_wasm>", "[utf8-import-module_134_wasm_tests]" ) {
260 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.134.wasm");
261 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
262}
263
264BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_135_wasm>", "[utf8-import-module_135_wasm_tests]" ) {
266 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.135.wasm");
267 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
268}
269
270BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_136_wasm>", "[utf8-import-module_136_wasm_tests]" ) {
272 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.136.wasm");
273 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
274}
275
276BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_137_wasm>", "[utf8-import-module_137_wasm_tests]" ) {
278 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.137.wasm");
279 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
280}
281
282BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_138_wasm>", "[utf8-import-module_138_wasm_tests]" ) {
284 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.138.wasm");
285 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
286}
287
288BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_139_wasm>", "[utf8-import-module_139_wasm_tests]" ) {
290 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.139.wasm");
291 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
292}
293
294BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_14_wasm>", "[utf8-import-module_14_wasm_tests]" ) {
296 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.14.wasm");
297 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
298}
299
300BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_140_wasm>", "[utf8-import-module_140_wasm_tests]" ) {
302 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.140.wasm");
303 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
304}
305
306BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_141_wasm>", "[utf8-import-module_141_wasm_tests]" ) {
308 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.141.wasm");
309 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
310}
311
312BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_142_wasm>", "[utf8-import-module_142_wasm_tests]" ) {
314 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.142.wasm");
315 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
316}
317
318BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_143_wasm>", "[utf8-import-module_143_wasm_tests]" ) {
320 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.143.wasm");
321 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
322}
323
324BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_144_wasm>", "[utf8-import-module_144_wasm_tests]" ) {
326 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.144.wasm");
327 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
328}
329
330BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_145_wasm>", "[utf8-import-module_145_wasm_tests]" ) {
332 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.145.wasm");
333 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
334}
335
336BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_146_wasm>", "[utf8-import-module_146_wasm_tests]" ) {
338 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.146.wasm");
339 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
340}
341
342BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_147_wasm>", "[utf8-import-module_147_wasm_tests]" ) {
344 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.147.wasm");
345 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
346}
347
348BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_148_wasm>", "[utf8-import-module_148_wasm_tests]" ) {
350 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.148.wasm");
351 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
352}
353
354BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_149_wasm>", "[utf8-import-module_149_wasm_tests]" ) {
356 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.149.wasm");
357 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
358}
359
360BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_15_wasm>", "[utf8-import-module_15_wasm_tests]" ) {
362 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.15.wasm");
363 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
364}
365
366BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_150_wasm>", "[utf8-import-module_150_wasm_tests]" ) {
368 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.150.wasm");
369 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
370}
371
372BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_151_wasm>", "[utf8-import-module_151_wasm_tests]" ) {
374 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.151.wasm");
375 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
376}
377
378BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_152_wasm>", "[utf8-import-module_152_wasm_tests]" ) {
380 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.152.wasm");
381 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
382}
383
384BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_153_wasm>", "[utf8-import-module_153_wasm_tests]" ) {
386 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.153.wasm");
387 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
388}
389
390BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_154_wasm>", "[utf8-import-module_154_wasm_tests]" ) {
392 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.154.wasm");
393 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
394}
395
396BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_155_wasm>", "[utf8-import-module_155_wasm_tests]" ) {
398 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.155.wasm");
399 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
400}
401
402BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_156_wasm>", "[utf8-import-module_156_wasm_tests]" ) {
404 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.156.wasm");
405 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
406}
407
408BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_157_wasm>", "[utf8-import-module_157_wasm_tests]" ) {
410 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.157.wasm");
411 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
412}
413
414BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_158_wasm>", "[utf8-import-module_158_wasm_tests]" ) {
416 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.158.wasm");
417 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
418}
419
420BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_159_wasm>", "[utf8-import-module_159_wasm_tests]" ) {
422 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.159.wasm");
423 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
424}
425
426BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_16_wasm>", "[utf8-import-module_16_wasm_tests]" ) {
428 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.16.wasm");
429 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
430}
431
432BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_160_wasm>", "[utf8-import-module_160_wasm_tests]" ) {
434 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.160.wasm");
435 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
436}
437
438BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_161_wasm>", "[utf8-import-module_161_wasm_tests]" ) {
440 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.161.wasm");
441 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
442}
443
444BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_162_wasm>", "[utf8-import-module_162_wasm_tests]" ) {
446 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.162.wasm");
447 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
448}
449
450BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_163_wasm>", "[utf8-import-module_163_wasm_tests]" ) {
452 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.163.wasm");
453 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
454}
455
456BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_164_wasm>", "[utf8-import-module_164_wasm_tests]" ) {
458 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.164.wasm");
459 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
460}
461
462BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_165_wasm>", "[utf8-import-module_165_wasm_tests]" ) {
464 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.165.wasm");
465 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
466}
467
468BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_166_wasm>", "[utf8-import-module_166_wasm_tests]" ) {
470 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.166.wasm");
471 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
472}
473
474BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_167_wasm>", "[utf8-import-module_167_wasm_tests]" ) {
476 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.167.wasm");
477 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
478}
479
480BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_168_wasm>", "[utf8-import-module_168_wasm_tests]" ) {
482 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.168.wasm");
483 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
484}
485
486BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_169_wasm>", "[utf8-import-module_169_wasm_tests]" ) {
488 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.169.wasm");
489 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
490}
491
492BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_17_wasm>", "[utf8-import-module_17_wasm_tests]" ) {
494 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.17.wasm");
495 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
496}
497
498BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_170_wasm>", "[utf8-import-module_170_wasm_tests]" ) {
500 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.170.wasm");
501 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
502}
503
504BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_171_wasm>", "[utf8-import-module_171_wasm_tests]" ) {
506 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.171.wasm");
507 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
508}
509
510BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_172_wasm>", "[utf8-import-module_172_wasm_tests]" ) {
512 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.172.wasm");
513 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
514}
515
516BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_173_wasm>", "[utf8-import-module_173_wasm_tests]" ) {
518 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.173.wasm");
519 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
520}
521
522BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_174_wasm>", "[utf8-import-module_174_wasm_tests]" ) {
524 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.174.wasm");
525 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
526}
527
528BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_175_wasm>", "[utf8-import-module_175_wasm_tests]" ) {
530 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.175.wasm");
531 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
532}
533
534BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_18_wasm>", "[utf8-import-module_18_wasm_tests]" ) {
536 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.18.wasm");
537 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
538}
539
540BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_19_wasm>", "[utf8-import-module_19_wasm_tests]" ) {
542 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.19.wasm");
543 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
544}
545
546BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_2_wasm>", "[utf8-import-module_2_wasm_tests]" ) {
548 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.2.wasm");
549 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
550}
551
552BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_20_wasm>", "[utf8-import-module_20_wasm_tests]" ) {
554 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.20.wasm");
555 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
556}
557
558BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_21_wasm>", "[utf8-import-module_21_wasm_tests]" ) {
560 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.21.wasm");
561 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
562}
563
564BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_22_wasm>", "[utf8-import-module_22_wasm_tests]" ) {
566 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.22.wasm");
567 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
568}
569
570BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_23_wasm>", "[utf8-import-module_23_wasm_tests]" ) {
572 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.23.wasm");
573 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
574}
575
576BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_24_wasm>", "[utf8-import-module_24_wasm_tests]" ) {
578 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.24.wasm");
579 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
580}
581
582BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_25_wasm>", "[utf8-import-module_25_wasm_tests]" ) {
584 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.25.wasm");
585 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
586}
587
588BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_26_wasm>", "[utf8-import-module_26_wasm_tests]" ) {
590 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.26.wasm");
591 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
592}
593
594BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_27_wasm>", "[utf8-import-module_27_wasm_tests]" ) {
596 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.27.wasm");
597 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
598}
599
600BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_28_wasm>", "[utf8-import-module_28_wasm_tests]" ) {
602 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.28.wasm");
603 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
604}
605
606BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_29_wasm>", "[utf8-import-module_29_wasm_tests]" ) {
608 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.29.wasm");
609 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
610}
611
612BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_3_wasm>", "[utf8-import-module_3_wasm_tests]" ) {
614 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.3.wasm");
615 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
616}
617
618BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_30_wasm>", "[utf8-import-module_30_wasm_tests]" ) {
620 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.30.wasm");
621 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
622}
623
624BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_31_wasm>", "[utf8-import-module_31_wasm_tests]" ) {
626 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.31.wasm");
627 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
628}
629
630BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_32_wasm>", "[utf8-import-module_32_wasm_tests]" ) {
632 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.32.wasm");
633 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
634}
635
636BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_33_wasm>", "[utf8-import-module_33_wasm_tests]" ) {
638 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.33.wasm");
639 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
640}
641
642BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_34_wasm>", "[utf8-import-module_34_wasm_tests]" ) {
644 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.34.wasm");
645 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
646}
647
648BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_35_wasm>", "[utf8-import-module_35_wasm_tests]" ) {
650 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.35.wasm");
651 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
652}
653
654BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_36_wasm>", "[utf8-import-module_36_wasm_tests]" ) {
656 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.36.wasm");
657 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
658}
659
660BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_37_wasm>", "[utf8-import-module_37_wasm_tests]" ) {
662 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.37.wasm");
663 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
664}
665
666BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_38_wasm>", "[utf8-import-module_38_wasm_tests]" ) {
668 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.38.wasm");
669 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
670}
671
672BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_39_wasm>", "[utf8-import-module_39_wasm_tests]" ) {
674 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.39.wasm");
675 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
676}
677
678BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_4_wasm>", "[utf8-import-module_4_wasm_tests]" ) {
680 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.4.wasm");
681 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
682}
683
684BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_40_wasm>", "[utf8-import-module_40_wasm_tests]" ) {
686 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.40.wasm");
687 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
688}
689
690BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_41_wasm>", "[utf8-import-module_41_wasm_tests]" ) {
692 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.41.wasm");
693 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
694}
695
696BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_42_wasm>", "[utf8-import-module_42_wasm_tests]" ) {
698 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.42.wasm");
699 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
700}
701
702BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_43_wasm>", "[utf8-import-module_43_wasm_tests]" ) {
704 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.43.wasm");
705 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
706}
707
708BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_44_wasm>", "[utf8-import-module_44_wasm_tests]" ) {
710 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.44.wasm");
711 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
712}
713
714BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_45_wasm>", "[utf8-import-module_45_wasm_tests]" ) {
716 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.45.wasm");
717 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
718}
719
720BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_46_wasm>", "[utf8-import-module_46_wasm_tests]" ) {
722 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.46.wasm");
723 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
724}
725
726BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_47_wasm>", "[utf8-import-module_47_wasm_tests]" ) {
728 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.47.wasm");
729 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
730}
731
732BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_48_wasm>", "[utf8-import-module_48_wasm_tests]" ) {
734 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.48.wasm");
735 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
736}
737
738BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_49_wasm>", "[utf8-import-module_49_wasm_tests]" ) {
740 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.49.wasm");
741 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
742}
743
744BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_5_wasm>", "[utf8-import-module_5_wasm_tests]" ) {
746 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.5.wasm");
747 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
748}
749
750BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_50_wasm>", "[utf8-import-module_50_wasm_tests]" ) {
752 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.50.wasm");
753 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
754}
755
756BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_51_wasm>", "[utf8-import-module_51_wasm_tests]" ) {
758 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.51.wasm");
759 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
760}
761
762BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_52_wasm>", "[utf8-import-module_52_wasm_tests]" ) {
764 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.52.wasm");
765 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
766}
767
768BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_53_wasm>", "[utf8-import-module_53_wasm_tests]" ) {
770 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.53.wasm");
771 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
772}
773
774BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_54_wasm>", "[utf8-import-module_54_wasm_tests]" ) {
776 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.54.wasm");
777 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
778}
779
780BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_55_wasm>", "[utf8-import-module_55_wasm_tests]" ) {
782 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.55.wasm");
783 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
784}
785
786BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_56_wasm>", "[utf8-import-module_56_wasm_tests]" ) {
788 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.56.wasm");
789 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
790}
791
792BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_57_wasm>", "[utf8-import-module_57_wasm_tests]" ) {
794 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.57.wasm");
795 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
796}
797
798BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_58_wasm>", "[utf8-import-module_58_wasm_tests]" ) {
800 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.58.wasm");
801 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
802}
803
804BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_59_wasm>", "[utf8-import-module_59_wasm_tests]" ) {
806 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.59.wasm");
807 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
808}
809
810BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_6_wasm>", "[utf8-import-module_6_wasm_tests]" ) {
812 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.6.wasm");
813 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
814}
815
816BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_60_wasm>", "[utf8-import-module_60_wasm_tests]" ) {
818 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.60.wasm");
819 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
820}
821
822BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_61_wasm>", "[utf8-import-module_61_wasm_tests]" ) {
824 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.61.wasm");
825 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
826}
827
828BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_62_wasm>", "[utf8-import-module_62_wasm_tests]" ) {
830 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.62.wasm");
831 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
832}
833
834BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_63_wasm>", "[utf8-import-module_63_wasm_tests]" ) {
836 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.63.wasm");
837 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
838}
839
840BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_64_wasm>", "[utf8-import-module_64_wasm_tests]" ) {
842 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.64.wasm");
843 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
844}
845
846BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_65_wasm>", "[utf8-import-module_65_wasm_tests]" ) {
848 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.65.wasm");
849 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
850}
851
852BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_66_wasm>", "[utf8-import-module_66_wasm_tests]" ) {
854 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.66.wasm");
855 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
856}
857
858BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_67_wasm>", "[utf8-import-module_67_wasm_tests]" ) {
860 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.67.wasm");
861 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
862}
863
864BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_68_wasm>", "[utf8-import-module_68_wasm_tests]" ) {
866 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.68.wasm");
867 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
868}
869
870BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_69_wasm>", "[utf8-import-module_69_wasm_tests]" ) {
872 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.69.wasm");
873 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
874}
875
876BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_7_wasm>", "[utf8-import-module_7_wasm_tests]" ) {
878 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.7.wasm");
879 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
880}
881
882BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_70_wasm>", "[utf8-import-module_70_wasm_tests]" ) {
884 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.70.wasm");
885 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
886}
887
888BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_71_wasm>", "[utf8-import-module_71_wasm_tests]" ) {
890 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.71.wasm");
891 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
892}
893
894BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_72_wasm>", "[utf8-import-module_72_wasm_tests]" ) {
896 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.72.wasm");
897 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
898}
899
900BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_73_wasm>", "[utf8-import-module_73_wasm_tests]" ) {
902 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.73.wasm");
903 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
904}
905
906BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_74_wasm>", "[utf8-import-module_74_wasm_tests]" ) {
908 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.74.wasm");
909 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
910}
911
912BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_75_wasm>", "[utf8-import-module_75_wasm_tests]" ) {
914 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.75.wasm");
915 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
916}
917
918BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_76_wasm>", "[utf8-import-module_76_wasm_tests]" ) {
920 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.76.wasm");
921 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
922}
923
924BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_77_wasm>", "[utf8-import-module_77_wasm_tests]" ) {
926 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.77.wasm");
927 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
928}
929
930BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_78_wasm>", "[utf8-import-module_78_wasm_tests]" ) {
932 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.78.wasm");
933 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
934}
935
936BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_79_wasm>", "[utf8-import-module_79_wasm_tests]" ) {
938 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.79.wasm");
939 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
940}
941
942BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_8_wasm>", "[utf8-import-module_8_wasm_tests]" ) {
944 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.8.wasm");
945 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
946}
947
948BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_80_wasm>", "[utf8-import-module_80_wasm_tests]" ) {
950 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.80.wasm");
951 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
952}
953
954BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_81_wasm>", "[utf8-import-module_81_wasm_tests]" ) {
956 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.81.wasm");
957 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
958}
959
960BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_82_wasm>", "[utf8-import-module_82_wasm_tests]" ) {
962 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.82.wasm");
963 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
964}
965
966BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_83_wasm>", "[utf8-import-module_83_wasm_tests]" ) {
968 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.83.wasm");
969 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
970}
971
972BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_84_wasm>", "[utf8-import-module_84_wasm_tests]" ) {
974 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.84.wasm");
975 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
976}
977
978BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_85_wasm>", "[utf8-import-module_85_wasm_tests]" ) {
980 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.85.wasm");
981 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
982}
983
984BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_86_wasm>", "[utf8-import-module_86_wasm_tests]" ) {
986 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.86.wasm");
987 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
988}
989
990BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_87_wasm>", "[utf8-import-module_87_wasm_tests]" ) {
992 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.87.wasm");
993 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
994}
995
996BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_88_wasm>", "[utf8-import-module_88_wasm_tests]" ) {
998 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.88.wasm");
999 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1000}
1001
1002BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_89_wasm>", "[utf8-import-module_89_wasm_tests]" ) {
1004 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.89.wasm");
1005 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1006}
1007
1008BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_9_wasm>", "[utf8-import-module_9_wasm_tests]" ) {
1010 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.9.wasm");
1011 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1012}
1013
1014BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_90_wasm>", "[utf8-import-module_90_wasm_tests]" ) {
1016 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.90.wasm");
1017 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1018}
1019
1020BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_91_wasm>", "[utf8-import-module_91_wasm_tests]" ) {
1022 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.91.wasm");
1023 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1024}
1025
1026BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_92_wasm>", "[utf8-import-module_92_wasm_tests]" ) {
1028 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.92.wasm");
1029 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1030}
1031
1032BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_93_wasm>", "[utf8-import-module_93_wasm_tests]" ) {
1034 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.93.wasm");
1035 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1036}
1037
1038BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_94_wasm>", "[utf8-import-module_94_wasm_tests]" ) {
1040 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.94.wasm");
1041 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1042}
1043
1044BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_95_wasm>", "[utf8-import-module_95_wasm_tests]" ) {
1046 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.95.wasm");
1047 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1048}
1049
1050BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_96_wasm>", "[utf8-import-module_96_wasm_tests]" ) {
1052 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.96.wasm");
1053 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1054}
1055
1056BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_97_wasm>", "[utf8-import-module_97_wasm_tests]" ) {
1058 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.97.wasm");
1059 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1060}
1061
1062BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_98_wasm>", "[utf8-import-module_98_wasm_tests]" ) {
1064 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.98.wasm");
1065 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1066}
1067
1068BACKEND_TEST_CASE( "Testing wasm <utf8-import-module_99_wasm>", "[utf8-import-module_99_wasm_tests]" ) {
1070 auto code = read_wasm( std::string(wasm_directory) + "utf8-import-module.99.wasm");
1071 CHECK_THROWS_AS(backend_t(code, nullptr), std::exception);
1072}
1073
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