Add CMake example
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#include "catch.hpp"
|
||||
|
||||
#include "mylib/foo.hpp"
|
||||
|
||||
TEST_CASE("Foo Test", "[foo]")
|
||||
{
|
||||
REQUIRE(mylib::foo() == 42);
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#include "catch.hpp"
|
||||
Reference in New Issue
Block a user