Skip to content

Commit

Permalink
constructFirstCell_singleConstruction repaired
Browse files Browse the repository at this point in the history
  • Loading branch information
chrxh committed Oct 19, 2023
1 parent 178323a commit b1ad5e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/EngineTests/ConstructorTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,9 @@ TEST_F(ConstructorTests, constructFirstCell_singleConstruction)

EXPECT_EQ(0, actualHostCell.connections.size());
auto const& constructor = std::get<ConstructorDescription>(*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);
Expand Down

0 comments on commit b1ad5e5

Please sign in to comment.