few, FINALLY BUILDED
This commit is contained in:
parent
b50153dcfe
commit
c96be01371
11 changed files with 18204 additions and 0 deletions
15
cpp/hello-world/hello_world_test.cpp
Normal file
15
cpp/hello-world/hello_world_test.cpp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Include the header file with the definitions of the functions you create.
|
||||
#include "hello_world.h"
|
||||
|
||||
// Include the test framework.
|
||||
#ifdef EXERCISM_TEST_SUITE
|
||||
#include <catch2/catch.hpp>
|
||||
#else
|
||||
#include "test/catch.hpp"
|
||||
#endif
|
||||
|
||||
// Declares a single test.
|
||||
TEST_CASE("test_hello") {
|
||||
// Check if your function returns "Hello, World!".
|
||||
REQUIRE(hello_world::hello() == "Hello, World!");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue