MCPcopy Create free account
hub / github.com/ETLCPP/etl / TEST

Function TEST

test/test_algorithm.cpp:146–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 {
145 //*************************************************************************
146 TEST(min)
147 {
148 int a = 1;
149 int b = 2;
150
151 CHECK_EQUAL((std::min(a, b)), (etl::min(a, b)));
152 CHECK_EQUAL((std::min(b, a)), (etl::min(b, a)));
153 }
154
155 //*************************************************************************
156 TEST(min_compare)

Callers

nothing calls this directly

Calls 15

minFunction · 0.85
GreaterClass · 0.85
min_elementFunction · 0.85
max_elementFunction · 0.85
is_sorted_untilFunction · 0.85
is_sortedFunction · 0.85
is_unique_sorted_untilFunction · 0.85
is_unique_sortedFunction · 0.85
copy_nFunction · 0.85
reverse_copyFunction · 0.85
copy_backwardFunction · 0.85
reverseClass · 0.85

Tested by

no test coverage detected