Extended dummy test
This commit is contained in:
parent
393a6643fd
commit
b55c7d5725
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user