tests: add optional GoogleTest-based smoke-tests and CMake support (BUILD_GTEST_SMOKE)

This commit is contained in:
torsten committed 2026-07-17 17:24:50 +02:00
1 parent f4d1602d87
commit b44bb09891
4 files changed
+82 -3

No files matched your search

@@ -0,0 +1,9 @@
#include <gtest/gtest.h>
#include <map>
TEST(FunctionTopicSmokeGTest, Containers) {
std::map<std::string,int> m;
m["one"] = 1;
m["two"] = 2;
EXPECT_EQ(m["two"], 2);
}