library/test/public_test.cpp

10 lines
222 B
C++
Raw Normal View History

2019-11-07 17:19:10 +01:00
#include "catch2/catch.hpp"
#include "../src/vkvm.hpp"
2019-11-07 17:02:00 +01:00
TEST_CASE("add works") {
vkvm::initialize(0);
vkvm::setText("Hello World");
2019-11-07 17:02:00 +01:00
SECTION("equals") {
REQUIRE(vkvm::getText() == "Hello World");
2019-11-07 17:02:00 +01:00
}
}