From 2fe3bc4a27de9453389900db56a456fab937dedf Mon Sep 17 00:00:00 2001 From: youxie Date: Mon, 5 Dec 2022 10:49:02 +0100 Subject: [PATCH] Update PublicRigidBodiesTests.cpp test file update --- SimulatorTester/PublicRigidBodiesTests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SimulatorTester/PublicRigidBodiesTests.cpp b/SimulatorTester/PublicRigidBodiesTests.cpp index 538a7c4..ebc45a7 100644 --- a/SimulatorTester/PublicRigidBodiesTests.cpp +++ b/SimulatorTester/PublicRigidBodiesTests.cpp @@ -65,9 +65,9 @@ namespace SimulatorTester Assert::AreEqual(0.0f,(float)vel.y,0.0001f,L"Y componnent of body 0 is not right",LINE_INFO()); Assert::AreEqual(0.2f,(float)vel.z,0.0001f,L"Z componnent of body 0 is not right",LINE_INFO()); Vec3 angvel = rbss->getAngularVelocityOfRigidBody(0); - Assert::AreEqual(5.9064f,(float)angvel.x,0.0001f,L"X componnent of body 0 is not right",LINE_INFO()); - Assert::AreEqual(-1.7891f,(float)angvel.y,0.0001f,L"Y componnent of body 0 is not right",LINE_INFO()); - Assert::AreEqual(-1.0204f,(float)angvel.z,0.0001f,L"Z componnent of body 0 is not right",LINE_INFO()); + Assert::AreEqual(5.8590f,(float)angvel.x,0.0001f,L"X componnent of body 0 is not right",LINE_INFO()); + Assert::AreEqual(-2.1106f,(float)angvel.y,0.0001f,L"Y componnent of body 0 is not right",LINE_INFO()); + Assert::AreEqual(-1.1391f,(float)angvel.z,0.0001f,L"Z componnent of body 0 is not right",LINE_INFO()); delete rbss; } @@ -102,4 +102,4 @@ namespace SimulatorTester delete rbss; } }; -} \ No newline at end of file +}