mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
19 lines
373 B
C++
19 lines
373 B
C++
#include <gtest/gtest.h> // googletest header file
|
|
|
|
#include <string>
|
|
using std::string;
|
|
|
|
char const actualValTrue[] = "hello gtest";
|
|
char const actualValFalse[] = "hello world";
|
|
char const expectVal[] = "hello gtest";
|
|
|
|
TEST(StrCompare, CStrEqual)
|
|
{
|
|
EXPECT_STREQ(expectVal, actualValTrue);
|
|
}
|
|
|
|
TEST(StrCompare, CStrNotEqual)
|
|
{
|
|
EXPECT_STRNE(expectVal, actualValFalse);
|
|
}
|