From ed62a5850f052efb88f638ea5a961bde814ec390 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Thu, 1 Oct 2026 03:23:25 -0500 Subject: [PATCH] test: a mover's construction writes its path bit Co-Authored-By: Claude Opus 5.5 --- tests/dGameTests/dComponentsTests/ReplicaConstructionTests.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/dGameTests/dComponentsTests/ReplicaConstructionTests.cpp b/tests/dGameTests/dComponentsTests/ReplicaConstructionTests.cpp index e869e1cd5..798089e8c 100644 --- a/tests/dGameTests/dComponentsTests/ReplicaConstructionTests.cpp +++ b/tests/dGameTests/dComponentsTests/ReplicaConstructionTests.cpp @@ -272,6 +272,8 @@ TEST_F(ReplicaConstructionTest, MovingPlatformEndsItsSubcomponentList) { ASSERT_TRUE(stream.Read(bit)); EXPECT_TRUE(bit); // has subcomponents ASSERT_TRUE(stream.Read(bit)); + EXPECT_TRUE(bit); // the path is written with the construction + ASSERT_TRUE(stream.Read(bit)); EXPECT_FALSE(bit); // no path ASSERT_TRUE(stream.Read(bit)); EXPECT_TRUE(bit); // a subcomponent follows