Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
null_tests.cpp
Go to the documentation of this file.
1#include <sysio/vm/backend.hpp>
2#include <catch2/catch.hpp>
3#include "utils.hpp"
4
5using namespace sysio::vm;
6
7extern wasm_allocator wa;
8
9TEST_CASE("Tests a null backend", "[null_backend]") {
10 /*
11 * (module)
12 */
13 std::vector<uint8_t> code = { 0x00, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00 };
14
16 backend_t bkend(code, nullptr);
17}
backend_t bkend(hello_wasm, ehm, &wa)
#define TEST_CASE(...)
Definition catch.hpp:222
wasm_allocator wa
Definition main.cpp:10