init
This commit is contained in:
commit
2f3a28e89c
10 changed files with 150 additions and 0 deletions
10
test/test.cpp
Normal file
10
test/test.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include <catch2/catch_test_macros.hpp>
|
||||
#include "library.h"
|
||||
|
||||
TEST_CASE("This test should pass") {
|
||||
REQUIRE(hello() == 0);
|
||||
}
|
||||
|
||||
TEST_CASE("This test should fail") {
|
||||
REQUIRE(hello() == 1);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue