Adds further migration results and moves generated tests in

This commit is contained in:
torsten committed 2026-08-19 21:21:59 +02:00
1 parent 19ab996be2
commit 72cbe318b6
442 files changed
+17126 -246

No files matched your search

@@ -0,0 +1,39 @@
#include "Lts/Common/LtsTimelineClassic/LineMap.h"
#include <gtest/gtest.h>
namespace LtsTimelineClassic
{
class LineMapTest : public ::testing::Test
{
protected:
void SetUp() override {}
void TearDown() override {}
};
TEST(LineMapTest, CreateEmptyLineMap)
{
LineMap lineMap;
EXPECT_TRUE(lineMap.isEmpty());
}
TEST(LineMapTest, InsertAndRetrieveValue)
{
LineMap lineMap;
lineMap.insert(1, 1000);
EXPECT_EQ(lineMap.value(1), 1000);
}
TEST(LineMapTest, ContainsKeyAfterInsert)
{
LineMap lineMap;
lineMap.insert(5, 5000);
EXPECT_TRUE(lineMap.contains(5));
EXPECT_FALSE(lineMap.contains(3));
}
} // namespace LtsTimelineClassic