library/test/public_test.cpp

10 lines
202 B
C++
Raw Normal View History

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