blob: 1719469e230357c99c31f4dffebf0c139a2232e3 [file] [log] [blame]
#include <mod/greeting.hpp>
#define CATCH_CONFIG_MAIN
#include <mod/3rdparty/catch/catch.hpp>
TEST_CASE("greeting generation") {
using greeting::make_greeting;
REQUIRE(make_greeting("Matthias") == "Hello Matthias!");
REQUIRE(make_greeting("world") == "Hello world!");
REQUIRE(make_greeting("") == "Hello!");
}