• Home
  • Raw
  • Download

Lines Matching refs:REQUIRE

60     REQUIRE( data.int_seven == 7 );
61 REQUIRE( data.float_nine_point_one == Approx( 9.1f ) );
62 REQUIRE( data.double_pi == Approx( 3.1415926535 ) );
63 REQUIRE( data.str_hello == "hello" );
64 REQUIRE( "hello" == data.str_hello );
65 REQUIRE( data.str_hello.size() == 5 );
68 REQUIRE( x == Approx( 1.3 ) );
96 REQUIRE( data.int_seven != 6 );
97 REQUIRE( data.int_seven != 8 );
98 REQUIRE( data.float_nine_point_one != Approx( 9.11f ) );
99 REQUIRE( data.float_nine_point_one != Approx( 9.0f ) );
100 REQUIRE( data.float_nine_point_one != Approx( 1 ) );
101 REQUIRE( data.float_nine_point_one != Approx( 0 ) );
102 REQUIRE( data.double_pi != Approx( 3.1415 ) );
103 REQUIRE( data.str_hello != "goodbye" );
104 REQUIRE( data.str_hello != "hell" );
105 REQUIRE( data.str_hello != "hello1" );
106 REQUIRE( data.str_hello.size() != 6 );
125 REQUIRE( data.int_seven < 8 );
126 REQUIRE( data.int_seven > 6 );
127 REQUIRE( data.int_seven > 0 );
128 REQUIRE( data.int_seven > -1 );
130 REQUIRE( data.int_seven >= 7 );
131 REQUIRE( data.int_seven >= 6 );
132 REQUIRE( data.int_seven <= 7 );
133 REQUIRE( data.int_seven <= 8 );
135 REQUIRE( data.float_nine_point_one > 9 );
136 REQUIRE( data.float_nine_point_one < 10 );
137 REQUIRE( data.float_nine_point_one < 9.2 );
139 REQUIRE( data.str_hello <= "hello" );
140 REQUIRE( data.str_hello >= "hello" );
142 REQUIRE( data.str_hello < "hellp" );
143 REQUIRE( data.str_hello < "zebra" );
144 REQUIRE( data.str_hello > "hellm" );
145 REQUIRE( data.str_hello > "a" );
192 REQUIRE( i == 1 );
193 REQUIRE( ui == 2 );
194 REQUIRE( l == 3 );
195 REQUIRE( ul == 4 );
196 REQUIRE( c == 5 );
197 REQUIRE( uc == 6 );
199 REQUIRE( 1 == i );
200 REQUIRE( 2 == ui );
201 REQUIRE( 3 == l );
202 REQUIRE( 4 == ul );
203 REQUIRE( 5 == c );
204 REQUIRE( 6 == uc );
206 REQUIRE( (std::numeric_limits<uint32_t>::max)() > ul );
229 REQUIRE( long_var == unsigned_char_var );
230 REQUIRE( long_var == unsigned_short_var );
231 REQUIRE( long_var == unsigned_int_var );
232 REQUIRE( long_var == unsigned_long_var );
242 REQUIRE( unsigned_char_var == 1 );
243 REQUIRE( unsigned_short_var == 1 );
244 REQUIRE( unsigned_int_var == 1 );
245 REQUIRE( unsigned_long_var == 1 );
275 REQUIRE( p == nullptr );
276 REQUIRE( p == pNULL );
281 REQUIRE( p != nullptr );
284 REQUIRE( cp != nullptr );
287 REQUIRE( cpc != nullptr );
289 REQUIRE( returnsNull() == nullptr );
290 REQUIRE( returnsConstNull() == nullptr );
292 REQUIRE( nullptr != p );
306 REQUIRE( false == false );
307 REQUIRE( true == true );
308 REQUIRE( !false );
311 REQUIRE( !falseValue );
314 REQUIRE( !(1 == 2) );