Extended dummy test

This commit is contained in:
Pascal Serrarens 2023-12-31 08:42:06 +01:00
parent 393a6643fd
commit b55c7d5725

View File

@ -2,6 +2,20 @@
#include <gtest/gtest.h>
TEST(Dummy, Foo) {
Motor motorLeft = Motor();
Motor motorRight = Motor();
DistanceSensor sensorLeft = DistanceSensor();
DistanceSensor sensorRight = DisteanceSensor();
Placement sensors[] = {Placement(&sensorLeft, -30),
Placement(&sensorRight, 30)};
Perception *perception = new Perception(sensors);
DifferentialDrive *propulsion =
new DifferentialDrive(Placement(&motorLeft, Vector3::Left),
Placement(&motorRight, Vector3::Right));
Roboid *roboid = new Roboid(perception, propulsion);
}
#endif