| 5 | using namespace Star; |
| 6 | |
| 7 | TEST(SetTest, All) { |
| 8 | Set<int> a = {1, 2, 3, 4}; |
| 9 | Set<int> b = {2, 4, 5}; |
| 10 | EXPECT_EQ(a.difference(b), Set<int>({1, 3})); |
| 11 | EXPECT_EQ(a.intersection(b), Set<int>({2, 4})); |
| 12 | EXPECT_EQ(a.combination(b), Set<int>({1, 2, 3, 4, 5})); |
| 13 | } |
nothing calls this directly
no test coverage detected