From b1ad5e504d7f61c9f51acf1052081c5de5aac07d Mon Sep 17 00:00:00 2001 From: Christian Heinemann Date: Thu, 19 Oct 2023 17:59:11 +0200 Subject: [PATCH] constructFirstCell_singleConstruction repaired --- source/EngineTests/ConstructorTests.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/EngineTests/ConstructorTests.cpp b/source/EngineTests/ConstructorTests.cpp index f54eab772..4ff087d4e 100644 --- a/source/EngineTests/ConstructorTests.cpp +++ b/source/EngineTests/ConstructorTests.cpp @@ -570,7 +570,9 @@ TEST_F(ConstructorTests, constructFirstCell_singleConstruction) EXPECT_EQ(0, actualHostCell.connections.size()); auto const& constructor = std::get(*actualHostCell.cellFunction); - EXPECT_EQ(constructor.genome.size(), constructor.genomeCurrentNodeIndex); + EXPECT_EQ(0, constructor.genomeCurrentNodeIndex); + EXPECT_EQ(0, constructor.genomeCurrentRepetition); + EXPECT_TRUE(constructor.isConstructionBuilt); EXPECT_EQ(0, actualConstructedCell.connections.size()); EXPECT_EQ(LivingState_Activating, actualConstructedCell.livingState);