• Home
  • Raw
  • Download

Lines Matching refs:REQUIRE_THAT

233   REQUIRE_THAT( "aaa", Catch::EndsWith("aaa") )
1618 REQUIRE_THAT( 1, Predicate<int>(alwaysTrue, "always true") )
1623 REQUIRE_THAT( 1, !Predicate<int>(alwaysFalse, "always false") )
1635REQUIRE_THAT( "Hello olleH", Predicate<std::string>( [] (std::string const& str) -> bool { return …
1640REQUIRE_THAT( "This wouldn't pass", !Predicate<std::string>( [] (std::string const& str) -> bool {…
2617 REQUIRE_THAT( 1., WithinAbs(1., 0) )
2622 REQUIRE_THAT( 0., WithinAbs(1., 1) )
2627 REQUIRE_THAT( 0., !WithinAbs(1., 0.99) )
2632 REQUIRE_THAT( 0., !WithinAbs(1., 0.99) )
2637 REQUIRE_THAT( NAN, !WithinAbs(NAN, 0) )
2642 REQUIRE_THAT( 11., !WithinAbs(10., 0.5) )
2647 REQUIRE_THAT( 10., !WithinAbs(11., 0.5) )
2652 REQUIRE_THAT( -10., WithinAbs(-10., 0.5) )
2657 REQUIRE_THAT( -10., WithinAbs(-9.6, 0.5) )
2669 REQUIRE_THAT( 1., WithinULP(1., 0) )
2674 REQUIRE_THAT( nextafter(1., 2.), WithinULP(1., 1) )
2679 REQUIRE_THAT( nextafter(1., 0.), WithinULP(1., 1) )
2684 REQUIRE_THAT( nextafter(1., 2.), !WithinULP(1., 0) )
2689 REQUIRE_THAT( 1., WithinULP(1., 0) )
2694 REQUIRE_THAT( -0., WithinULP(0., 0) )
2699 REQUIRE_THAT( NAN, !WithinULP(NAN, 123) )
2711 REQUIRE_THAT( 1., WithinAbs(1., 0.5) || WithinULP(2., 1) )
2716 REQUIRE_THAT( 1., WithinAbs(2., 0.5) || WithinULP(1., 0) )
2721 REQUIRE_THAT( NAN, !(WithinAbs(NAN, 100) || WithinULP(NAN, 123)) )
2752 REQUIRE_THAT( 1.f, WithinAbs(1.f, 0) )
2757 REQUIRE_THAT( 0.f, WithinAbs(1.f, 1) )
2762 REQUIRE_THAT( 0.f, !WithinAbs(1.f, 0.99f) )
2767 REQUIRE_THAT( 0.f, !WithinAbs(1.f, 0.99f) )
2772 REQUIRE_THAT( 0.f, WithinAbs(-0.f, 0) )
2777 REQUIRE_THAT( NAN, !WithinAbs(NAN, 0) )
2782 REQUIRE_THAT( 11.f, !WithinAbs(10.f, 0.5f) )
2787 REQUIRE_THAT( 10.f, !WithinAbs(11.f, 0.5f) )
2792 REQUIRE_THAT( -10.f, WithinAbs(-10.f, 0.5f) )
2797 REQUIRE_THAT( -10.f, WithinAbs(-9.6f, 0.5f) )
2809 REQUIRE_THAT( 1.f, WithinULP(1.f, 0) )
2814 REQUIRE_THAT( nextafter(1.f, 2.f), WithinULP(1.f, 1) )
2819 REQUIRE_THAT( nextafter(1.f, 0.f), WithinULP(1.f, 1) )
2824 REQUIRE_THAT( nextafter(1.f, 2.f), !WithinULP(1.f, 0) )
2829 REQUIRE_THAT( 1.f, WithinULP(1.f, 0) )
2834 REQUIRE_THAT( -0.f, WithinULP(0.f, 0) )
2839 REQUIRE_THAT( NAN, !WithinULP(NAN, 123) )
2851 REQUIRE_THAT( 1.f, WithinAbs(1.f, 0.5) || WithinULP(1.f, 1) )
2856 REQUIRE_THAT( 1.f, WithinAbs(2.f, 0.5) || WithinULP(1.f, 0) )
2861 REQUIRE_THAT( NAN, !(WithinAbs(NAN, 100) || WithinULP(NAN, 123)) )
5840 REQUIRE_THAT( "foo", Predicate<const char*>([] (const char* const&) { return true; }) )
6068 REQUIRE_THAT( result.errorMessage(), Contains("Unrecognized reporter") )
6159 REQUIRE_THAT( result.errorMessage(), Contains("convert") && Contains("oops") )
6758 REQUIRE_THAT( testStringForMatching(), Contains("string") )
6763 REQUIRE_THAT( testStringForMatching(), Contains("string", Catch::CaseSensitive::No) )
8551 REQUIRE_THAT( permuted, UnorderedEquals(v) )
8556 REQUIRE_THAT( permuted, UnorderedEquals(v) )