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 Thu Sep 5 2024 11:15:14 for userver by
Doxygen
1.10.0