#include <algorithm>
#include <vector>
#include <iostream>
#include <iterator>
#include <cmath>
#include <cstdlib>
#include <catch2/catch.hpp>
#include <utils.hpp>
#include <wasm_config.hpp>
#include <sysio/vm/backend.hpp>
Go to the source code of this file.
|
| BACKEND_TEST_CASE ("Testing wasm <custom_0_wasm>", "[custom_0_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <custom_1_wasm>", "[custom_1_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <custom_2_wasm>", "[custom_2_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <custom_3_wasm>", "[custom_3_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <custom_4_wasm>", "[custom_4_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <custom_5_wasm>", "[custom_5_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <custom_6_wasm>", "[custom_6_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <custom_7_wasm>", "[custom_7_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <custom_8_wasm>", "[custom_8_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <custom_9_wasm>", "[custom_9_wasm_tests]") |
|
◆ BACKEND_TEST_CASE() [1/10]
BACKEND_TEST_CASE |
( |
"Testing wasm <custom_0_wasm>" | , |
|
|
"" | [custom_0_wasm_tests] ) |
Definition at line 18 of file custom_tests.cpp.
18 {
20 auto code =
read_wasm( std::string(wasm_directory) +
"custom.0.wasm");
22
23}
backend_t bkend(hello_wasm, ehm, &wa)
std::vector< uint8_t > read_wasm(const std::string &fname)
◆ BACKEND_TEST_CASE() [2/10]
BACKEND_TEST_CASE |
( |
"Testing wasm <custom_1_wasm>" | , |
|
|
"" | [custom_1_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [3/10]
BACKEND_TEST_CASE |
( |
"Testing wasm <custom_2_wasm>" | , |
|
|
"" | [custom_2_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [4/10]
BACKEND_TEST_CASE |
( |
"Testing wasm <custom_3_wasm>" | , |
|
|
"" | [custom_3_wasm_tests] ) |
Definition at line 39 of file custom_tests.cpp.
39 {
41 auto code =
read_wasm( std::string(wasm_directory) +
"custom.3.wasm");
43}
sysio::vm::backend< rhf_t > backend_t
#define CHECK_THROWS_AS(expr, exceptionType)
◆ BACKEND_TEST_CASE() [5/10]
BACKEND_TEST_CASE |
( |
"Testing wasm <custom_4_wasm>" | , |
|
|
"" | [custom_4_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [6/10]
BACKEND_TEST_CASE |
( |
"Testing wasm <custom_5_wasm>" | , |
|
|
"" | [custom_5_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [7/10]
BACKEND_TEST_CASE |
( |
"Testing wasm <custom_6_wasm>" | , |
|
|
"" | [custom_6_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [8/10]
BACKEND_TEST_CASE |
( |
"Testing wasm <custom_7_wasm>" | , |
|
|
"" | [custom_7_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [9/10]
BACKEND_TEST_CASE |
( |
"Testing wasm <custom_8_wasm>" | , |
|
|
"" | [custom_8_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [10/10]
BACKEND_TEST_CASE |
( |
"Testing wasm <custom_9_wasm>" | , |
|
|
"" | [custom_9_wasm_tests] ) |
◆ wa