Searched full:require (Results 1 – 25 of 8188) sorted by relevance
12345678910>>...328
9 REQUIRE(gen.get() == 123);14 REQUIRE(gen.get() == 1);15 REQUIRE(gen.next());16 REQUIRE(gen.get() == 3);17 REQUIRE(gen.next());18 REQUIRE(gen.get() == 5);23 REQUIRE(gen.get() == 1);24 REQUIRE(gen.next());25 REQUIRE(gen.get() == 5);26 REQUIRE(gen.next());[all …]
29 REQUIRE( testCase.isOpen() );32 REQUIRE( s1.isOpen() );36 REQUIRE( s1.isSuccessfullyCompleted() );37 REQUIRE( testCase.isComplete() == false );40 REQUIRE( ctx.completedCycle() );41 REQUIRE( testCase.isSuccessfullyCompleted() );46 REQUIRE( s1.isComplete() );47 REQUIRE( s1.isSuccessfullyCompleted() == false );48 REQUIRE( testCase.isComplete() == false );51 REQUIRE( ctx.completedCycle() );[all …]
13 REQUIRE( empty.empty() );14 REQUIRE( empty.size() == 0 );15 REQUIRE( empty.isNullTerminated() );16 REQUIRE( std::strcmp( empty.c_str(), "" ) == 0 );21 REQUIRE( s.empty() == false );22 REQUIRE( s.size() == 5 );23 REQUIRE( s.isNullTerminated() );26 REQUIRE( std::strcmp( rawChars, "hello" ) == 0 );29 REQUIRE(s.c_str() == rawChars);30 REQUIRE(s.data() == rawChars);[all …]
15 REQUIRE(rng() == 0xfcdb943b);16 REQUIRE(rng() == 0x6f55b921);17 REQUIRE(rng() == 0x4c17a916);18 REQUIRE(rng() == 0x71eae25f);19 REQUIRE(rng() == 0x6ce7909c);23 REQUIRE(rng() == 0x57c08495);24 REQUIRE(rng() == 0x33c956ac);25 REQUIRE(rng() == 0x2206fd76);26 REQUIRE(rng() == 0x3501a35b);27 REQUIRE(rng() == 0xfdffb30f);[all …]
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 ) );[all …]
42 REQUIRE( d == 1.23_a );43 REQUIRE( d != 1.22_a );44 REQUIRE( -d == -1.23_a );46 REQUIRE( d == 1.2_a .epsilon(.1) );47 REQUIRE( d != 1.2_a .epsilon(.001) );48 REQUIRE( d == 1_a .epsilon(.3) );54 REQUIRE( d == Approx( 1.23 ) );55 REQUIRE( d != Approx( 1.22 ) );56 REQUIRE( d != Approx( 1.24 ) );58 REQUIRE( d == 1.23_a );[all …]
83 REQUIRE( a != b );84 REQUIRE( b != a );88 REQUIRE( a != b);97 REQUIRE( a != b );98 REQUIRE( b != a );101 REQUIRE( a != b);112 REQUIRE( a == b );116 REQUIRE( a != b );119 REQUIRE( a < b );166 REQUIRE( makeString( false ) != static_cast<char*>(nullptr));[all …]
43 REQUIRE(c);44 REQUIRE(string(c).compare("c") == 0);49 REQUIRE(libm);50 REQUIRE(libm[0] == '/');51 REQUIRE(string(libm).find("libm.so") != string::npos);57 REQUIRE(libelf);58 REQUIRE(libelf[0] == '/');59 REQUIRE(string(libelf).find("libelf") != string::npos);65 REQUIRE(ld);66 REQUIRE(ld[0] == '/');[all …]
57 REQUIRE(ctx.num_probes() >= 1);61 REQUIRE(probe);65 REQUIRE(probe->name() == "sample_probe_1");66 REQUIRE(probe->provider() == "libbcc_test");67 REQUIRE(probe->bin_path().find("/test_libbcc") != std::string::npos);69 REQUIRE(probe->num_locations() == 1);70 REQUIRE(probe->num_arguments() == 2);71 REQUIRE(probe->need_enable() == false);73 REQUIRE(a_probed_function() != 0);80 REQUIRE(u.binary_path() == "/proc/self/exe");[all …]
33 REQUIRE(res.ok()); in bpf_module_rw_engine_enabled()40 REQUIRE(res.ok()); in bpf_module_rw_engine_enabled()42 REQUIRE(res.ok()); in bpf_module_rw_engine_enabled()43 REQUIRE(value == "0x42"); in bpf_module_rw_engine_enabled()47 REQUIRE(res.ok()); in bpf_module_rw_engine_enabled()49 REQUIRE(res.ok()); in bpf_module_rw_engine_enabled()50 REQUIRE(value == "0x777"); in bpf_module_rw_engine_enabled()54 REQUIRE(res.ok()); in bpf_module_rw_engine_enabled()56 REQUIRE(!res.ok()); in bpf_module_rw_engine_enabled()59 REQUIRE(res.ok()); in bpf_module_rw_engine_enabled()[all …]
64 REQUIRE(res.ok());76 REQUIRE(res.ok());80 REQUIRE(res.ok());82 REQUIRE(res.ok());87 REQUIRE(res.code() == -1);93 REQUIRE(res.ok());95 REQUIRE(res.ok());101 REQUIRE(res.ok());105 REQUIRE(getuid() >= 0);107 REQUIRE(res.ok());[all …]
31 REQUIRE(res.ok());50 REQUIRE(res.ok());52 REQUIRE(res.ok());53 REQUIRE(v2 == 42);58 REQUIRE(res.ok());60 REQUIRE(res.ok());61 REQUIRE(v2 == 69);65 REQUIRE(res.ok());69 REQUIRE(!res.ok());73 REQUIRE(!res.ok());[all …]
1 // 030-Asn-Require-Check.cpp4 // - REQUIRE() stops at first failure.19 TEST_CASE( "Assert that something is true (pass)", "[require]" ) {20 REQUIRE( one() == "1" );23 TEST_CASE( "Assert that something is true (fail)", "[require]" ) {24 REQUIRE( one() == "x" );27 TEST_CASE( "Assert that something is true (stop at first failure)", "[require]" ) {28 WARN( "REQUIRE stops at first failure:" );30 REQUIRE( one() == "x" );31 REQUIRE( one() == "1" );[all …]
145 <require>148 </require>151 <require>164 </require>167 <require>171 </require>174 <require>176 </require>179 <require>181 </require>[all …]
49 <comment>These are dependencies CL types require to be declared legally</comment>3566 <require comment="Header boilerplate">3569 </require>3570 <require comment="API types">3613 </require>3614 <require comment="Constants">3655 </require>3656 <require comment="Error codes">3704 </require>3705 <require comment="cl_bool">[all …]
95 @CollectionFeature.Require(SUPPORTS_REMOVE)96 @CollectionSize.Require(ZERO)102 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)103 @CollectionSize.Require(ZERO)109 @CollectionFeature.Require(SUPPORTS_REMOVE)110 @CollectionSize.Require(absent = ZERO)117 @CollectionFeature.Require(absent = SUPPORTS_REMOVE)118 @CollectionSize.Require(absent = ZERO)126 @CollectionFeature.Require(SUPPORTS_REMOVE)127 @CollectionSize.Require(ZERO)[all …]
122 @CollectionFeature.Require(SUPPORTS_ADD)127 @CollectionFeature.Require(SUPPORTS_REMOVE)132 @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE})140 @CollectionSize.Require(absent = ZERO)141 @CollectionFeature.Require(SUPPORTS_ADD)146 @CollectionSize.Require(absent = ZERO)147 @CollectionFeature.Require(SUPPORTS_REMOVE)152 @CollectionSize.Require(absent = ZERO)153 @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE})161 @CollectionSize.Require(SEVERAL)[all …]
46 @CollectionFeature.Require(SUPPORTS_REMOVE)52 @CollectionSize.Require(ONE)53 @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)71 @CollectionSize.Require(absent = ZERO)72 @CollectionFeature.Require(SUPPORTS_REMOVE)80 @CollectionSize.Require(absent = ZERO)81 @CollectionFeature.Require(SUPPORTS_REMOVE)91 @CollectionSize.Require(absent = ZERO)92 @CollectionFeature.Require(SUPPORTS_REMOVE)102 @CollectionSize.Require(absent = ZERO)[all …]
92 @CollectionSize.Require(ZERO)102 @CollectionFeature.Require(SUPPORTS_REMOVE)103 @CollectionSize.Require(ZERO)108 @CollectionSize.Require(ZERO)116 @CollectionSize.Require(ZERO)126 @CollectionFeature.Require(SUPPORTS_REMOVE)127 @CollectionSize.Require(ZERO)132 @CollectionSize.Require(ONE)137 @CollectionFeature.Require(SUPPORTS_REMOVE)138 @CollectionSize.Require(ONE)[all …]
3 require { 19 require {41 require {53 require {66 require {74 require {82 require {91 require {100 require {109 require {[all …]
21 REQUIRE(boundingBox.GetX() == 0u);22 REQUIRE(boundingBox.GetY() == 0u);23 REQUIRE(boundingBox.GetWidth() == 0u);24 REQUIRE(boundingBox.GetHeight() == 0u);31 REQUIRE(boundingBox.GetX() == s_X);32 REQUIRE(boundingBox.GetY() == s_Y);33 REQUIRE(boundingBox.GetWidth() == s_W);34 REQUIRE(boundingBox.GetHeight() == s_H);46 REQUIRE(boundingBox.GetX() == s_X);47 REQUIRE(boundingBox.GetY() == s_Y);[all …]