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