Searched refs:STLIsSorted (Results 1 – 4 of 4) sorted by relevance
208 bool STLIsSorted(const Container& cont) { in STLIsSorted() function219 assert(STLIsSorted(a1)); in STLSetDifference()220 assert(STLIsSorted(a2)); in STLSetDifference()231 assert(STLIsSorted(a1)); in STLSetUnion()232 assert(STLIsSorted(a2)); in STLSetUnion()244 assert(STLIsSorted(a1)); in STLSetIntersection()245 assert(STLIsSorted(a2)); in STLSetIntersection()257 assert(STLIsSorted(a1)); in STLIncludes()258 assert(STLIsSorted(a2)); in STLIncludes()
205 bool STLIsSorted(const Container& cont) { in STLIsSorted() function216 DCHECK(STLIsSorted(a1)); in STLSetDifference()217 DCHECK(STLIsSorted(a2)); in STLSetDifference()228 DCHECK(STLIsSorted(a1)); in STLSetUnion()229 DCHECK(STLIsSorted(a2)); in STLSetUnion()241 DCHECK(STLIsSorted(a1)); in STLSetIntersection()242 DCHECK(STLIsSorted(a2)); in STLSetIntersection()254 DCHECK(STLIsSorted(a1)); in STLIncludes()255 DCHECK(STLIsSorted(a2)); in STLIncludes()
36 TEST(STLUtilTest, STLIsSorted) { in TEST() argument42 EXPECT_TRUE(STLIsSorted(set)); in TEST()50 EXPECT_TRUE(STLIsSorted(set)); in TEST()60 EXPECT_TRUE(STLIsSorted(vector)); in TEST()62 EXPECT_FALSE(STLIsSorted(vector)); in TEST()
43 TEST(STLUtilTest, STLIsSorted) { in TEST() argument49 EXPECT_TRUE(STLIsSorted(set)); in TEST()57 EXPECT_TRUE(STLIsSorted(set)); in TEST()67 EXPECT_TRUE(STLIsSorted(vector)); in TEST()69 EXPECT_FALSE(STLIsSorted(vector)); in TEST()