/external/testng/src/test/java/test/factory/ |
VerifyFactoryTest.java | 10 Map<Integer, Integer> numbers = FactoryTest2.getNumbers(); local 11 assert null != numbers.get(42) 13 assert null != numbers.get(43) 15 assert 2 == numbers.size() 16 : "Expected 2 numbers, found " + (numbers.size());
|
VerifyFactoryWithInstanceInfoTest.java | 10 Map<Integer, Integer> numbers = FactoryWithInstanceInfoTest2.getNumbers(); local 11 assert null != numbers.get(42) 13 assert null != numbers.get(43) 15 assert 2 == numbers.size() 16 : "Expected 2 numbers, found " + (numbers.size());
|
/ndk/tests/device/test-gnustl-full/unit/ |
inplace_test.cpp | 33 int numbers[6] = { 1, 10, 42, 3, 16, 32 }; local 34 inplace_merge(numbers, numbers + 3, numbers + 6); 36 CPPUNIT_ASSERT(numbers[0]==1); 37 CPPUNIT_ASSERT(numbers[1]==3); 38 CPPUNIT_ASSERT(numbers[2]==10); 39 CPPUNIT_ASSERT(numbers[3]==16); 40 CPPUNIT_ASSERT(numbers[4]==32); 41 CPPUNIT_ASSERT(numbers[5]==42) [all...] |
iota_test.cpp | 34 int numbers[10]; local 35 iota(numbers, numbers + 10, 42); 36 CPPUNIT_ASSERT(numbers[0]==42); 37 CPPUNIT_ASSERT(numbers[1]==43); 38 CPPUNIT_ASSERT(numbers[2]==44); 39 CPPUNIT_ASSERT(numbers[3]==45); 40 CPPUNIT_ASSERT(numbers[4]==46); 41 CPPUNIT_ASSERT(numbers[5]==47); 42 CPPUNIT_ASSERT(numbers[6]==48) [all...] |
nthelm_test.cpp | 35 int numbers[7] = { 5, 2, 4, 1, 0, 3 ,77}; local 36 nth_element(numbers, numbers + 3, numbers + 6); 38 CPPUNIT_ASSERT(numbers[0]==1); 39 CPPUNIT_ASSERT(numbers[1]==0); 40 CPPUNIT_ASSERT(numbers[2]==2); 41 CPPUNIT_ASSERT(numbers[3]==3); 42 CPPUNIT_ASSERT(numbers[4]==4); 43 CPPUNIT_ASSERT(numbers[5]==5) 49 int numbers[10] = { 6, 8, 5, 1, 7, 4, 1, 5, 2, 6 }; local 70 int numbers[10] = { 4, 5, 4, 2, 1, 7, 4, 3, 1, 6 }; local [all...] |
foreach_test.cpp | 37 int numbers[10] = { 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 }; local 39 for_each(numbers, numbers + 10, ptr_fun(increase)); 41 CPPUNIT_ASSERT(numbers[0]==2); 42 CPPUNIT_ASSERT(numbers[1]==2); 43 CPPUNIT_ASSERT(numbers[2]==3); 44 CPPUNIT_ASSERT(numbers[3]==4); 45 CPPUNIT_ASSERT(numbers[4]==6); 46 CPPUNIT_ASSERT(numbers[5]==9); 47 CPPUNIT_ASSERT(numbers[6]==14) [all...] |
heap_test.cpp | 37 int numbers[6] = { 5, 10, 4, 13, 11, 19 }; local 39 make_heap(numbers, numbers + 6); 40 CPPUNIT_ASSERT(numbers[0]==19) 41 pop_heap(numbers, numbers + 6); 42 CPPUNIT_ASSERT(numbers[0]==13) 43 pop_heap(numbers, numbers + 5); 44 CPPUNIT_ASSERT(numbers[0]==11 55 int numbers[6] = { 5, 10, 4, 13, 11, 19 }; local [all...] |
rndshf_test.cpp | 42 int numbers[6] = { 1, 2, 3, 4, 5, 6 }; local 44 random_shuffle(numbers, numbers + 6); 46 CPPUNIT_ASSERT(count(numbers, numbers+6, 1)==1); 47 CPPUNIT_ASSERT(count(numbers, numbers+6, 2)==1); 48 CPPUNIT_ASSERT(count(numbers, numbers+6, 3)==1); 49 CPPUNIT_ASSERT(count(numbers, numbers+6, 4)==1) [all...] |
rotate_test.cpp | 38 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local 40 rotate((int*)numbers, numbers + 3, numbers + 6); 41 CPPUNIT_ASSERT(numbers[0]==3); 42 CPPUNIT_ASSERT(numbers[1]==4); 43 CPPUNIT_ASSERT(numbers[2]==5); 44 CPPUNIT_ASSERT(numbers[3]==0); 45 CPPUNIT_ASSERT(numbers[4]==1); 46 CPPUNIT_ASSERT(numbers[5]==2) 92 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local [all...] |
count_test.cpp | 34 int numbers[10] = { 1, 2, 4, 1, 2, 4, 1, 2, 4, 1 }; local 36 int result = count(numbers, numbers + 10, 1); 40 count(numbers, numbers + 10, 1, result); 46 vector <int> numbers(100); 48 numbers[i] = i % 3; 49 int elements = count(numbers.begin(), numbers.end(), 2); 53 count(numbers.begin(), numbers.end(), 2, elements) [all...] |
generator_test.cpp | 41 int numbers[10]; local 43 generate(numbers, numbers + 10, ptr_gen(cxxrand)); 45 generate(numbers, numbers + 10, cxxrand);
|
min_test.cpp | 51 int numbers[6] = { -10, 15, -100, 36, -242, 42 }; local 52 int* r = min_element((int*)numbers, (int*)numbers + 6);
|
/ndk/tests/device/test-stlport/unit/ |
inplace_test.cpp | 33 int numbers[6] = { 1, 10, 42, 3, 16, 32 }; local 34 inplace_merge(numbers, numbers + 3, numbers + 6); 36 CPPUNIT_ASSERT(numbers[0]==1); 37 CPPUNIT_ASSERT(numbers[1]==3); 38 CPPUNIT_ASSERT(numbers[2]==10); 39 CPPUNIT_ASSERT(numbers[3]==16); 40 CPPUNIT_ASSERT(numbers[4]==32); 41 CPPUNIT_ASSERT(numbers[5]==42) [all...] |
iota_test.cpp | 34 int numbers[10]; local 35 iota(numbers, numbers + 10, 42); 36 CPPUNIT_ASSERT(numbers[0]==42); 37 CPPUNIT_ASSERT(numbers[1]==43); 38 CPPUNIT_ASSERT(numbers[2]==44); 39 CPPUNIT_ASSERT(numbers[3]==45); 40 CPPUNIT_ASSERT(numbers[4]==46); 41 CPPUNIT_ASSERT(numbers[5]==47); 42 CPPUNIT_ASSERT(numbers[6]==48) [all...] |
nthelm_test.cpp | 35 int numbers[7] = { 5, 2, 4, 1, 0, 3 ,77}; local 36 nth_element(numbers, numbers + 3, numbers + 6); 38 CPPUNIT_ASSERT(numbers[0]==1); 39 CPPUNIT_ASSERT(numbers[1]==0); 40 CPPUNIT_ASSERT(numbers[2]==2); 41 CPPUNIT_ASSERT(numbers[3]==3); 42 CPPUNIT_ASSERT(numbers[4]==4); 43 CPPUNIT_ASSERT(numbers[5]==5) 49 int numbers[10] = { 6, 8, 5, 1, 7, 4, 1, 5, 2, 6 }; local 70 int numbers[10] = { 4, 5, 4, 2, 1, 7, 4, 3, 1, 6 }; local [all...] |
foreach_test.cpp | 37 int numbers[10] = { 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 }; local 39 for_each(numbers, numbers + 10, ptr_fun(increase)); 41 CPPUNIT_ASSERT(numbers[0]==2); 42 CPPUNIT_ASSERT(numbers[1]==2); 43 CPPUNIT_ASSERT(numbers[2]==3); 44 CPPUNIT_ASSERT(numbers[3]==4); 45 CPPUNIT_ASSERT(numbers[4]==6); 46 CPPUNIT_ASSERT(numbers[5]==9); 47 CPPUNIT_ASSERT(numbers[6]==14) [all...] |
heap_test.cpp | 37 int numbers[6] = { 5, 10, 4, 13, 11, 19 }; local 39 make_heap(numbers, numbers + 6); 40 CPPUNIT_ASSERT(numbers[0]==19) 41 pop_heap(numbers, numbers + 6); 42 CPPUNIT_ASSERT(numbers[0]==13) 43 pop_heap(numbers, numbers + 5); 44 CPPUNIT_ASSERT(numbers[0]==11 55 int numbers[6] = { 5, 10, 4, 13, 11, 19 }; local [all...] |
rndshf_test.cpp | 42 int numbers[6] = { 1, 2, 3, 4, 5, 6 }; local 44 random_shuffle(numbers, numbers + 6); 46 CPPUNIT_ASSERT(count(numbers, numbers+6, 1)==1); 47 CPPUNIT_ASSERT(count(numbers, numbers+6, 2)==1); 48 CPPUNIT_ASSERT(count(numbers, numbers+6, 3)==1); 49 CPPUNIT_ASSERT(count(numbers, numbers+6, 4)==1) [all...] |
rotate_test.cpp | 38 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local 40 rotate((int*)numbers, numbers + 3, numbers + 6); 41 CPPUNIT_ASSERT(numbers[0]==3); 42 CPPUNIT_ASSERT(numbers[1]==4); 43 CPPUNIT_ASSERT(numbers[2]==5); 44 CPPUNIT_ASSERT(numbers[3]==0); 45 CPPUNIT_ASSERT(numbers[4]==1); 46 CPPUNIT_ASSERT(numbers[5]==2) 92 int numbers[6] = { 0, 1, 2, 3, 4, 5 }; local [all...] |
count_test.cpp | 34 int numbers[10] = { 1, 2, 4, 1, 2, 4, 1, 2, 4, 1 }; local 36 int result = count(numbers, numbers + 10, 1); 40 count(numbers, numbers + 10, 1, result); 46 vector <int> numbers(100); 48 numbers[i] = i % 3; 49 int elements = count(numbers.begin(), numbers.end(), 2); 53 count(numbers.begin(), numbers.end(), 2, elements) [all...] |
generator_test.cpp | 41 int numbers[10]; local 43 generate(numbers, numbers + 10, ptr_gen(cxxrand)); 45 generate(numbers, numbers + 10, cxxrand);
|
min_test.cpp | 51 int numbers[6] = { -10, 15, -100, 36, -242, 42 }; local 52 int* r = min_element((int*)numbers, (int*)numbers + 6);
|
/external/clang/test/Misc/ |
diag-line-wrapping.cpp | 21 // CHECK-NOT: static const float numbers[] 22 static const float numbers[] = {0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.3529411764705883,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.4117647058823529,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.4705882352941176,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.4117647058823529,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.4705882352941176,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.5294117647058824,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.4705882352941176,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.5294117647058824,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.5294117647058824,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.1764705882352941,0.3529411764705883,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.1764705882352941,0.4117647058823529,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2352941176470588,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2352941176470588,0.4117647058823529,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2352941176470588,0.4705882352941176,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2941176470588235,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2941176470588235,0.4705882352941176,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.2941176470588235,0.5294117647058824,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.3529411764705883,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.1764705882352941,0.3529411764705883,0.5294117647058824,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2352941176470588,0.1176470588235294,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2352941176470588,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2352941176470588,0.4117647058823529,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2941176470588235,0.1764705882352941,0.4117647058823529,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2941176470588235,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.2941176470588235,0.4705882352941176,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.3529411764705883,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.3529411764705883,0.5294117647058824,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2352941176470588,0.4117647058823529,0.2941176470588235,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.2941176470588235,0.1176470588235294,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.2941176470588235,0.1764705882352941,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.3529411764705883,0.1764705882352941,0.3529411764705883,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.3529411764705883,0.2352941176470588,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.4117647058823529,0.2352941176470588,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.2941176470588235,0.4705882352941176,0.2941176470588235,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.3529411764705883,0.1176470588235294,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.3529411764705883,0.1764705882352941,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.4117647058823529,0.1764705882352941,0.2941176470588235,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.4117647058823529,0.2352941176470588,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.4705882352941176,0.2352941176470588,0.2352941176470588,0.1176470588235294,0.1176470588235294,0.3529411764705883,0.5294117647058824,0.2941176470588235,0.1764705882352941,0.1176470588235294,0.1176470588235294,0.4117647058823529}; variable
|
/external/clang/test/SemaCXX/ |
array-bounds-ptr-arith.cpp | 23 double numbers[2]; // expected-note {{declared here}} local 24 swallow((char*)numbers + sizeof(double)); // no-warning 25 swallow((char*)numbers + 60); // expected-warning {{refers past the end of the array}}
|
/external/xmlrpcpp/test/ |
HelloClient.cpp | 46 // Add up an array of numbers 47 XmlRpcValue numbers; local 48 numbers[0] = 33.33; 49 numbers[1] = 112.57; 50 numbers[2] = 76.1; 51 std::cout << "numbers.size() is " << numbers.size() << std::endl; 52 if (c.execute("Sum", numbers, result)) 58 if (c.execute("NoSuchMethod", numbers, result))
|