Fix tests
This commit is contained in:
parent
6e860be913
commit
0920f99c1e
@ -2,6 +2,7 @@
|
|||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <chrono>
|
||||||
|
|
||||||
#include "Polar.h"
|
#include "Polar.h"
|
||||||
#include "Spherical.h"
|
#include "Spherical.h"
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <chrono>
|
||||||
|
|
||||||
#include "Spherical.h"
|
#include "Spherical.h"
|
||||||
#include "Vector3.h"
|
#include "Vector3.h"
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <chrono>
|
||||||
|
|
||||||
#include "Spherical.h"
|
#include "Spherical.h"
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ TEST(Participant, SiteParticipant) {
|
|||||||
TEST(Participant, ThingMsg) {
|
TEST(Participant, ThingMsg) {
|
||||||
SiteServer* siteServer = new SiteServer(7681);
|
SiteServer* siteServer = new SiteServer(7681);
|
||||||
ParticipantUDP* participant = new ParticipantUDP("127.0.0.1", 7681, 7682);
|
ParticipantUDP* participant = new ParticipantUDP("127.0.0.1", 7681, 7682);
|
||||||
Thing* thing = new Thing(participant);
|
Thing* thing = new Thing();
|
||||||
thing->SetName("First Thing");
|
thing->SetName("First Thing");
|
||||||
thing->SetModel("https://passer.life/extras/ant.jpg");
|
thing->SetModel("https://passer.life/extras/ant.jpg");
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ TEST(RoboidControlSuite, HiddenParticipant) {
|
|||||||
|
|
||||||
TEST(RoboidControlSuite, IsolatedParticipant) {
|
TEST(RoboidControlSuite, IsolatedParticipant) {
|
||||||
ParticipantUDP* participant = ParticipantUDP::Isolated();
|
ParticipantUDP* participant = ParticipantUDP::Isolated();
|
||||||
Thing* thing = new Thing(participant);
|
Thing* thing = new Thing();
|
||||||
|
|
||||||
unsigned long milliseconds = Thing::GetTimeMs();
|
unsigned long milliseconds = Thing::GetTimeMs();
|
||||||
unsigned long startTime = milliseconds;
|
unsigned long startTime = milliseconds;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user