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 Wed Dec 4 2024 18:42:01 for userver by
Doxygen
1.10.0