blob: 1853540813937b36fc077701efb12b6b507abd67 [file] [log] [blame]
#include <greeting/greeting.hpp>
#define CATCH_CONFIG_MAIN
#include <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!");
}