MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / compare_predicate

Function compare_predicate

test/value_test.cpp:568–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566
567template <class Expression>
568static auto compare_predicate(const Expression& e)
569{
570 bool result = e.value();
571 return test::make_predicate(test::as_string(e) + " => " + test::as_string(result),
572 [=] { return result; });
573}
574
575TEST_CASE(value_compare)
576{

Callers

nothing calls this directly

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected