20 #include "gtest/gtest.h" 27 TEST(DirectSearchManagerTest, CheckSearchedObjectTypesAreEquale) {
33 SOT1.push_back(
"PlateDeep");
36 SOT2.push_back(
"Marker4");
39 SOT2.push_back(
"PlateDeep");
42 SOT1.push_back(
"Marker4");
45 SOT1.push_back(
"Marker4");
48 SOT2.push_back(
"Marker4");
52 TEST(DirectSearchManagerTest, GetSearchedObjectTypesFromAWithoutB) {
58 EXPECT_EQ(0, AwithoutB.size());
60 A.push_back(
"PlateDeep");
61 B.push_back(
"Marker0");
63 ASSERT_EQ(1, AwithoutB.size());
64 EXPECT_EQ(
"PlateDeep", AwithoutB[0]);
66 B.push_back(
"PlateDeep");
68 ASSERT_EQ(0, AwithoutB.size());
70 A.push_back(
"PlateDeep");
72 ASSERT_EQ(0, AwithoutB.size());
74 B.push_back(
"Marker0");
76 ASSERT_EQ(0, AwithoutB.size());
std::vector< std::string > SearchedObjectTypes
bool checkSearchedObjectTypesAreEquale(const SearchedObjectTypes &searchecObjectTypes1, const SearchedObjectTypes &searchecObjectTypes2)
SearchedObjectTypes getSearchedObjectTypesFromAWithoutB(const SearchedObjectTypes &a, const SearchedObjectTypes &b)
TEST(DirectSearchManagerTest, CheckSearchedObjectTypesAreEquale)