tests
test_robot_model.cpp
Go to the documentation of this file.
1
31
#include "
create/types.h
"
32
33
#include "gtest/gtest.h"
34
35
TEST
(RobotModelTest, Equality)
36
{
37
EXPECT_EQ(
create::RobotModel::CREATE_1
,
create::RobotModel::CREATE_1
);
38
EXPECT_EQ(
create::RobotModel::CREATE_2
,
create::RobotModel::CREATE_2
);
39
EXPECT_EQ(
create::RobotModel::ROOMBA_400
,
create::RobotModel::ROOMBA_400
);
40
EXPECT_NE(
create::RobotModel::CREATE_1
,
create::RobotModel::CREATE_2
);
41
EXPECT_NE(
create::RobotModel::CREATE_1
,
create::RobotModel::ROOMBA_400
);
42
EXPECT_NE(
create::RobotModel::CREATE_2
,
create::RobotModel::ROOMBA_400
);
43
}
types.h
create::RobotModel::CREATE_2
static RobotModel CREATE_2
Compatible with Create 2 or Roomba 600 series and greater.
Definition:
types.h:73
TEST
TEST(RobotModelTest, Equality)
Definition:
test_robot_model.cpp:35
create::RobotModel::CREATE_1
static RobotModel CREATE_1
Compatible with Create 1 or Roomba 500 series.
Definition:
types.h:68
create::RobotModel::ROOMBA_400
static RobotModel ROOMBA_400
Compatible with Roomba 400 series and earlier.
Definition:
types.h:63
libcreate
Author(s): Jacob Perron
autogenerated on Tue Apr 15 2025 02:25:02