14 lines
286 B
C++
14 lines
286 B
C++
#include <gtest/gtest.h>
|
|
|
|
TEST(GenericSmokeGTest, BasicStringOps) {
|
|
std::string s = "MiXeD";
|
|
for (auto &c : s) c = (char)std::tolower(c);
|
|
EXPECT_EQ(s, "mixed");
|
|
}
|
|
|
|
TEST(GenericSmokeGTest, VariantLike) {
|
|
// simulate basic core logic check
|
|
int v = 42;
|
|
EXPECT_EQ(v + 1, 43);
|
|
}
|