Lines Matching refs:LessThan
142 // Create three Ordinals in order. LessThan should return values
144 TEST(Ordinal, LessThan) {
149 EXPECT_FALSE(small_ordinal.LessThan(small_ordinal));
150 EXPECT_TRUE(small_ordinal.LessThan(middle_ordinal));
151 EXPECT_TRUE(small_ordinal.LessThan(big_ordinal));
153 EXPECT_FALSE(middle_ordinal.LessThan(small_ordinal));
154 EXPECT_FALSE(middle_ordinal.LessThan(middle_ordinal));
155 EXPECT_TRUE(middle_ordinal.LessThan(big_ordinal));
157 EXPECT_FALSE(big_ordinal.LessThan(small_ordinal));
158 EXPECT_FALSE(big_ordinal.LessThan(middle_ordinal));
159 EXPECT_FALSE(big_ordinal.LessThan(big_ordinal));
169 EXPECT_TRUE(small_ordinal.LessThan(big_ordinal));