test_set_utils.cpp
Go to the documentation of this file.
1 #include "gtest/gtest.h"
2 #include <set>
4 
6 {
7  std::set<int> a = { 1, 2, 4, -3 };
8  std::set<int> b = { -1, -2, -4, 3 };
9  std::set<int> c = { 4, 3 };
10  std::set<int> e;
11 
18 
21 
22  // empty set handling
26 }
27 
28 int main(int argc, char **argv)
29 {
30  testing::InitGoogleTest(&argc, argv);
31  return RUN_ALL_TESTS();
32 }
TEST
TEST(SetUtils, isSetIntersectionEmpty)
Definition: test_set_utils.cpp:5
robot_body_filter::isSetIntersectionEmpty
bool isSetIntersectionEmpty(const std::set< T > &set1, const std::set< T > &set2)
Definition: set_utils.hpp:8
set_utils.hpp
EXPECT_TRUE
#define EXPECT_TRUE(args)
main
int main(int argc, char **argv)
Definition: test_set_utils.cpp:28
EXPECT_FALSE
#define EXPECT_FALSE(args)


robot_body_filter
Author(s): Eitan Marder-Eppstein, Tomas Petricek, Martin Pecka
autogenerated on Mon Feb 5 2024 03:33:49