#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 <float_memory_0_wasm>", "[float_memory_0_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <float_memory_1_wasm>", "[float_memory_1_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <float_memory_2_wasm>", "[float_memory_2_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <float_memory_3_wasm>", "[float_memory_3_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <float_memory_4_wasm>", "[float_memory_4_wasm_tests]") |
|
| BACKEND_TEST_CASE ("Testing wasm <float_memory_5_wasm>", "[float_memory_5_wasm_tests]") |
|
◆ BACKEND_TEST_CASE() [1/6]
BACKEND_TEST_CASE |
( |
"Testing wasm <float_memory_0_wasm>" | , |
|
|
"" | [float_memory_0_wasm_tests] ) |
Definition at line 18 of file float_memory_tests.cpp.
18 {
20 auto code =
read_wasm( std::string(wasm_directory) +
"float_memory.0.wasm");
22
28bkend(
"env",
"f32.store");
34bkend(
"env",
"i32.store");
37}
auto call_with_return(host_t &host, const std::string_view &mod, const std::string_view &func, Args... args)
backend_t bkend(hello_wasm, ehm, &wa)
std::vector< uint8_t > read_wasm(const std::string &fname)
◆ BACKEND_TEST_CASE() [2/6]
BACKEND_TEST_CASE |
( |
"Testing wasm <float_memory_1_wasm>" | , |
|
|
"" | [float_memory_1_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [3/6]
BACKEND_TEST_CASE |
( |
"Testing wasm <float_memory_2_wasm>" | , |
|
|
"" | [float_memory_2_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [4/6]
BACKEND_TEST_CASE |
( |
"Testing wasm <float_memory_3_wasm>" | , |
|
|
"" | [float_memory_3_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [5/6]
BACKEND_TEST_CASE |
( |
"Testing wasm <float_memory_4_wasm>" | , |
|
|
"" | [float_memory_4_wasm_tests] ) |
◆ BACKEND_TEST_CASE() [6/6]
BACKEND_TEST_CASE |
( |
"Testing wasm <float_memory_5_wasm>" | , |
|
|
"" | [float_memory_5_wasm_tests] ) |
◆ wa