Line data Source code
1 : #include <gtest/gtest.h> 2 : #include "header_only.hpp" 3 : 4 4 : TEST(common, some_fun) { 5 1 : const auto fun_ret = header_only::common::some_fun(); 6 1 : GTEST_ASSERT_EQ(0, fun_ret); 7 : } 8 : 9 4 : TEST(common, const_string) { 10 1 : const auto fun_ret = header_only::common::const_string(); 11 1 : GTEST_ASSERT_GT(fun_ret.size(), 0); 12 : }