Home
last modified time | relevance | path

Searched refs:testOrder (Results 1 – 21 of 21) sorted by relevance

/external/cronet/buildtools/third_party/libc++/trunk/test/support/
Dtest_container_comparisons.h22 assert(testOrder(l1, l2, Order::equivalent)); in test_sequence_container_spaceship_with_type()
28 assert(testOrder(l1, l2, Order::equivalent)); in test_sequence_container_spaceship_with_type()
34 assert(testOrder(l1, l2, Order::less)); in test_sequence_container_spaceship_with_type()
40 assert(testOrder(l1, l2, Order::greater)); in test_sequence_container_spaceship_with_type()
46 assert(testOrder(l1, l2, Order::less)); in test_sequence_container_spaceship_with_type()
52 assert(testOrder(l1, l2, Order::greater)); in test_sequence_container_spaceship_with_type()
58 assert(testOrder(l1, l2, Order::unordered)); in test_sequence_container_spaceship_with_type()
91 assert(testOrder(l1, l2, Order::equivalent)); in test_ordered_map_container_spaceship_with_type()
97 assert(testOrder(l1, l2, Order::equivalent)); in test_ordered_map_container_spaceship_with_type()
103 assert(testOrder(l1, l2, Order::less)); in test_ordered_map_container_spaceship_with_type()
[all …]
Dtest_comparisons.h162 TEST_NODISCARD constexpr bool testOrder(const T& t1, const U& t2, Order order) { in testOrder() function
172 return testOrder(T(val1), T(val2), val1 <=> val2); in testOrderValues()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/
Dcomparisons.pass.cpp32 assert(testOrder( in test()
38 assert(testOrder( in test()
44 assert(testOrder( in test()
50 assert(testOrder( in test()
56 assert(testOrder( in test()
62 assert(testOrder( in test()
68 assert(testOrder( in test()
74 assert(testOrder( in test()
82 assert((testOrder( in test()
92 assert((testOrder( in test()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.point/time.point.comparisons/
Dcompare.three_way.pass.cpp38 assert(testOrder(t1, t2, std::strong_ordering::equal)); in test_with_integral_ticks_value()
44 assert(testOrder(t1, t2, std::strong_ordering::less)); in test_with_integral_ticks_value()
50 assert(testOrder(t1, t2, std::strong_ordering::equal)); in test_with_integral_ticks_value()
56 assert(testOrder(t1, t2, std::strong_ordering::less)); in test_with_integral_ticks_value()
58 assert(testOrder(t2, t1, std::strong_ordering::greater)); in test_with_integral_ticks_value()
75 assert(testOrder(t1, t2, std::strong_ordering::equal)); in test_with_integral_ticks_value_and_custom_period_value()
81 assert(testOrder(t1, t2, std::strong_ordering::less)); in test_with_integral_ticks_value_and_custom_period_value()
87 assert(testOrder(t1, t2, std::strong_ordering::greater)); in test_with_integral_ticks_value_and_custom_period_value()
105 assert(testOrder(t1, t2, std::weak_ordering::less)); in test_with_floating_point_ticks_value()
111 assert(testOrder(t1, t2, std::weak_ordering::greater)); in test_with_floating_point_ticks_value()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/variant/variant.relops/
Dthree_way.pass.cpp62 assert(testOrder(v1, v2, std::weak_ordering::greater)); in test_empty()
69 assert(testOrder(v1, v2, std::weak_ordering::less)); in test_empty()
77 assert(testOrder(v1, v2, std::weak_ordering::equivalent)); in test_empty()
89 assert(testOrder(v1, v2, Order::equivalent)); in test_with_types()
94 assert(testOrder(v1, v2, Order::less)); in test_with_types()
99 assert(testOrder(v1, v2, Order::greater)); in test_with_types()
104 assert(testOrder(v1, v2, Order::less)); in test_with_types()
109 assert(testOrder(v1, v2, Order::greater)); in test_with_types()
125 assert(testOrder(v1, v2, std::partial_ordering::less)); in test_three_way()
130 assert(testOrder(v1, v2, std::partial_ordering::greater)); in test_three_way()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.duration/time.duration.comparisons/
Dcompare.three_way.pass.cpp31 assert(testOrder(s1, s2, std::strong_ordering::equal)); in test()
37 assert(testOrder(s1, s2, std::strong_ordering::less)); in test()
43 assert(testOrder(s1, s2, std::strong_ordering::equal)); in test()
49 assert(testOrder(s1, s2, std::strong_ordering::less)); in test()
55 assert(testOrder(s1, s2, std::strong_ordering::equal)); in test()
61 assert(testOrder(s1, s2, std::strong_ordering::greater)); in test()
67 assert(testOrder(s1, s2, std::strong_ordering::less)); in test()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/
Dcomparisons.pass.cpp28 assert(testOrder( in test()
33 assert(testOrder( in test()
38 assert(testOrder( in test()
46 assert((testOrder( in test()
56 assert((testOrder( in test()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.cal/time.cal.md/time.cal.md.nonmembers/
Dcomparisons.pass.cpp28 assert(testOrder( in test()
31 assert(testOrder( in test()
34 assert(testOrder( in test()
40 assert((testOrder( in test()
50 assert((testOrder( in test()
/external/TestParameterInjector/src/test/java/com/google/testing/junit/testparameterinjector/
DPluggableTestRunnerTest.java118 private static final List<String> testOrder = new ArrayList<>(); field in PluggableTestRunnerTest
124 testOrder.add("a"); in a()
129 testOrder.add("b"); in b()
134 testOrder.add("c"); in c()
140 testOrder.clear(); in testsAreSortedCorrectly()
153 assertThat(testOrder).containsExactly("c", "b", "a"); in testsAreSortedCorrectly()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/diagnostics/syserr/syserr.compare/
Dcmp_error_condition.pass.cpp31 assert(testOrder(ec1a, ec1b, std::strong_ordering::equal)); in main()
32 assert(testOrder(ec1a, ec2, std::strong_ordering::less)); in main()
38 assert(testOrder(ec2, ec3, isLess ? std::strong_ordering::less : std::strong_ordering::greater)); in main()
Dcmp_error_code.pass.cpp31 assert(testOrder(ec1a, ec1b, std::strong_ordering::equal)); in main()
32 assert(testOrder(ec1a, ec2, std::strong_ordering::less)); in main()
38 assert(testOrder(ec2, ec3, isLess ? std::strong_ordering::less : std::strong_ordering::greater)); in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/string.view/string.view.comparison/
Dcomparison.pass.cpp96 …assert(testOrder(v[i], v[j], i == j ? Ordering::equivalent : i < j ? Ordering::less : Ordering::gr… in test()
97 assert(testOrder( in test()
104 assert(testOrder( in test()
112 …assert(testOrder(vn[i], vn[j], i == j ? Ordering::equivalent : i < j ? Ordering::less : Ordering::… in test()
113 assert(testOrder( in test()
Dcommon_type_specialization.pass.cpp65 assert((testOrder(T(a), U(a), std::weak_ordering::equivalent))); in test()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.nonmembers/string.cmp/
Dcomparison.pass.cpp64 …assert(testOrder(v[i], v[j], i == j ? Ordering::equivalent : i < j ? Ordering::less : Ordering::gr… in test()
66 assert(testOrder( in test()
74 …assert(testOrder(vn[i], vn[j], i == j ? Ordering::equivalent : i < j ? Ordering::less : Ordering::… in test()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.nonvirtuals/
Dcmp.pass.cpp30 assert(testOrder(e_cat1, e_cat2, std::strong_ordering::equal)); in main()
33 …assert(testOrder(e_cat1, e_cat3, isLess ? std::strong_ordering::less : std::strong_ordering::great… in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/type.index/type.index.members/
Dcmp.pass.cpp44 assert(testOrder(t1, t2, std::strong_ordering::equal)); in main()
51 assert(testOrder(t1, t3, is_less ? std::strong_ordering::less : std::strong_ordering::greater)); in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/
Dcmp.pass.cpp44 assert(testOrder(id1, id2, std::strong_ordering::equal)); in main()
51 assert(testOrder(id1, id3, isLess ? std::strong_ordering::less : std::strong_ordering::greater)); in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/variant/variant.monostate.relops/
Drelops.pass.cpp35 assert(testOrder(m1, m2, std::strong_ordering::equal)); in test()
/external/zstd/tests/
DpoolTests.c43 static int testOrder(size_t numThreads, size_t queueSize) in testOrder() function
241 if (testOrder(numThreads, queueSize)) { in main()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DUnconfinedTest.kt12 fun testOrder() = runTest { in <lambda>() method in kotlinx.coroutines.UnconfinedTest
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/class.path/path.member/
Dpath.compare.pass.cpp126 assert(testOrder(p1, p2, E <=> 0)); in test_compare_basic()