#include "StarSet.hpp" #include "gtest/gtest.h" using namespace Star; TEST(SetTest, All) { Set a = {1, 2, 3, 4}; Set b = {2, 4, 5}; EXPECT_EQ(a.difference(b), Set({1, 3})); EXPECT_EQ(a.intersection(b), Set({2, 4})); EXPECT_EQ(a.combination(b), Set({1, 2, 3, 4, 5})); }