From 0920f99c1ee3e464ef39aa29c47a59a1d5f58fc1 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Mon, 26 May 2025 12:27:09 +0200 Subject: [PATCH] Fix tests --- LinearAlgebra/test/Polar_test.cc | 1 + LinearAlgebra/test/Spherical16_test.cc | 1 + LinearAlgebra/test/SphericalSingle_test.cc | 1 + test/participant_test.cc | 2 +- test/thing_test.cc | 2 +- 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/LinearAlgebra/test/Polar_test.cc b/LinearAlgebra/test/Polar_test.cc index 9e244f2..ba65946 100644 --- a/LinearAlgebra/test/Polar_test.cc +++ b/LinearAlgebra/test/Polar_test.cc @@ -2,6 +2,7 @@ #include #include #include +#include #include "Polar.h" #include "Spherical.h" diff --git a/LinearAlgebra/test/Spherical16_test.cc b/LinearAlgebra/test/Spherical16_test.cc index e9fbc40..8eea700 100644 --- a/LinearAlgebra/test/Spherical16_test.cc +++ b/LinearAlgebra/test/Spherical16_test.cc @@ -2,6 +2,7 @@ #include #include #include +#include #include "Spherical.h" #include "Vector3.h" diff --git a/LinearAlgebra/test/SphericalSingle_test.cc b/LinearAlgebra/test/SphericalSingle_test.cc index 7840d77..3dedb31 100644 --- a/LinearAlgebra/test/SphericalSingle_test.cc +++ b/LinearAlgebra/test/SphericalSingle_test.cc @@ -2,6 +2,7 @@ #include #include #include +#include #include "Spherical.h" diff --git a/test/participant_test.cc b/test/participant_test.cc index 0b4e147..13831bd 100644 --- a/test/participant_test.cc +++ b/test/participant_test.cc @@ -59,7 +59,7 @@ TEST(Participant, SiteParticipant) { TEST(Participant, ThingMsg) { SiteServer* siteServer = new SiteServer(7681); ParticipantUDP* participant = new ParticipantUDP("127.0.0.1", 7681, 7682); - Thing* thing = new Thing(participant); + Thing* thing = new Thing(); thing->SetName("First Thing"); thing->SetModel("https://passer.life/extras/ant.jpg"); diff --git a/test/thing_test.cc b/test/thing_test.cc index 74ff48c..ff651c3 100644 --- a/test/thing_test.cc +++ b/test/thing_test.cc @@ -24,7 +24,7 @@ TEST(RoboidControlSuite, HiddenParticipant) { TEST(RoboidControlSuite, IsolatedParticipant) { ParticipantUDP* participant = ParticipantUDP::Isolated(); - Thing* thing = new Thing(participant); + Thing* thing = new Thing(); unsigned long milliseconds = Thing::GetTimeMs(); unsigned long startTime = milliseconds;