userver: samples/hello_service/unittests/say_hello_test.cpp
Loading...
Searching...
No Matches
samples/hello_service/unittests/say_hello_test.cpp
#include "say_hello.hpp"
UTEST(SayHelloTo, Basic) {
EXPECT_EQ(samples::hello::SayHelloTo("Developer"), "Hello, Developer!\n");
EXPECT_EQ(samples::hello::SayHelloTo({}), "Hello, unknown user!\n");
}