Skip to content

Commit ca5c7e7

Browse files
committed
fix: cmake error
1 parent 9eb5cc4 commit ca5c7e7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Projects/UnitTest/Source/PAX_SAPIENTICA/Simulation/Entity/SettlementAgentUnitTest.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,8 @@ TEST(SettlementAgentUnitTest, EqualityOperator_DifferentId) {
550550
TEST(SettlementAgentUnitTest, EqualityOperator_DifferentAge) {
551551
// Given: 年齢が異なる2つのエージェント
552552
paxs::Genome genome;
553-
paxs::SettlementAgent agent1(1, 25, 60, genome, 100, 50, 5);
554-
paxs::SettlementAgent agent2(1, 30, 60, genome, 100, 50, 5);
553+
paxs::SettlementAgent agent1(1, 25, 60, genome, 100, 50, 5, 0, 0, 0);
554+
paxs::SettlementAgent agent2(1, 25, 60, genome, 100, 50, 5, 0, 0, 0);
555555

556556
// Then: 非等価
557557
EXPECT_FALSE(agent1 == agent2);
@@ -577,10 +577,10 @@ TEST(SettlementAgentUnitTest, EqualityOperator_DifferentPartner) {
577577
// Given: 配偶者IDが異なる2つのエージェント
578578
paxs::Genome genome;
579579
paxs::SettlementAgent agent1(1, 25, 60, genome, 100, 50, 5);
580-
agent1.marry(2 / 3, paxs::Genome(), 80, 20, 8, 0, 0);
580+
agent1.marry(2, paxs::Genome(), 80, 20, 8, 0, 0);
581581

582582
paxs::SettlementAgent agent2(1, 25, 60, genome, 100, 50, 5);
583-
agent2.marry(2 / 3, paxs::Genome(), 80, 20, 8, 0, 0);
583+
agent2.marry(3, paxs::Genome(), 80, 20, 8, 0, 0);
584584

585585
// Then: 非等価
586586
EXPECT_FALSE(agent1 == agent2);

0 commit comments

Comments
 (0)