86TEST(_GTestCbmLink, CompareEqual)
89 CbmLink test1 {-2., -2, -2, -2};
90 CbmLink test2 {-1., -2, -2, -2};
91 CbmLink test3 {-2., -1, -2, -2};
92 CbmLink test4 {-2., -2, -1, -2};
93 CbmLink test5 {-2., -2, -2, -1};
95 EXPECT_TRUE(test == test1);
96 EXPECT_TRUE(test == test2);
97 EXPECT_FALSE(test == test3);
98 EXPECT_FALSE(test == test4);
99 EXPECT_FALSE(test == test5);
102TEST(_GTestCbmLink, CompareGreater)
110 EXPECT_FALSE(test > test1);
111 EXPECT_TRUE(test > test2);
112 EXPECT_FALSE(test2 > test);
113 EXPECT_TRUE(test > test3);
114 EXPECT_FALSE(test3 > test);
115 EXPECT_TRUE(test > test4);
116 EXPECT_FALSE(test4 > test);
119TEST(_GTestCbmLink, CompareSmaller)
127 EXPECT_FALSE(test < test1);
128 EXPECT_FALSE(test < test2);
129 EXPECT_TRUE(test2 < test);
130 EXPECT_FALSE(test < test3);
131 EXPECT_TRUE(test3 < test);
132 EXPECT_FALSE(test < test4);
133 EXPECT_TRUE(test4 < test);