userver
C++ Async Framework
Loading...
Searching...
No Matches
samples/hello_service/unittests/say_hello_test.cpp
#include "say_hello.hpp"
#include <
userver/utest/utest.hpp
>
UTEST
(SayHelloTo, Basic) {
EXPECT_EQ(samples::hello::SayHelloTo(
"Developer"
),
"Hello, Developer!\n"
);
EXPECT_EQ(samples::hello::SayHelloTo({}),
"Hello, unknown user!\n"
);
}
Generated on Tue Nov 19 2024 11:25:18 for userver by
Doxygen
1.10.0