/external/stlport/test/unit/ |
rndshf_test.cpp | 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); 50 CPPUNIT_ASSERT(count(numbers, numbers+6, 5)==1); 51 CPPUNIT_ASSERT(count(numbers, numbers+6, 6)==1); 62 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 0)==1); 63 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 1)==1); 64 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 2)==1); 65 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 3)==1) [all...] |
adj_test.cpp | 47 CPPUNIT_ASSERT(location == numbers1 + 5); // no adj so loc should be _last 50 CPPUNIT_ASSERT(location != numbers2 + 5); // adj location off should be 3 (first 1) 51 CPPUNIT_ASSERT((location - numbers2)==3); 61 CPPUNIT_ASSERT(location == v.end()); 64 CPPUNIT_ASSERT(location != v.end()); 79 CPPUNIT_ASSERT(location != v.end()); 90 CPPUNIT_ASSERT(difference[0]==1); 91 CPPUNIT_ASSERT(difference[1]==1); 92 CPPUNIT_ASSERT(difference[2]==2); 93 CPPUNIT_ASSERT(difference[3]==4) [all...] |
iostream_test.cpp | 47 CPPUNIT_ASSERT( istr.good() ); 51 CPPUNIT_ASSERT( istr.eof() ); 52 CPPUNIT_ASSERT( !istr.fail() ); 53 CPPUNIT_ASSERT( foo == "bar" ); 56 CPPUNIT_ASSERT( istr.eof() ); 57 CPPUNIT_ASSERT( !istr.fail() ); 66 CPPUNIT_ASSERT( istr.good() ); 70 CPPUNIT_ASSERT( !istr.eof() ); 71 CPPUNIT_ASSERT( !istr.fail() ); 72 CPPUNIT_ASSERT( foo == "bar" ) [all...] |
ptr2_test.cpp | 51 CPPUNIT_ASSERT(output[0]==8); 52 CPPUNIT_ASSERT(output[1]==7); 53 CPPUNIT_ASSERT(output[2]==8); 54 CPPUNIT_ASSERT(output[3]==13); 64 CPPUNIT_ASSERT(output[0]==8); 65 CPPUNIT_ASSERT(output[1]==7); 66 CPPUNIT_ASSERT(output[2]==8); 67 CPPUNIT_ASSERT(output[3]==13); 74 CPPUNIT_ASSERT(p != array+3); 75 CPPUNIT_ASSERT(*p==2) [all...] |
unary_test.cpp | 49 CPPUNIT_ASSERT((p != array + 3)); 50 CPPUNIT_ASSERT(*p==2); 56 CPPUNIT_ASSERT(p != array + 3); 57 CPPUNIT_ASSERT(*p==2); 68 CPPUNIT_ASSERT(p != array + 3); 69 CPPUNIT_ASSERT(*p==3); 81 CPPUNIT_ASSERT(output[0]==1); 82 CPPUNIT_ASSERT(output[1]==2); 83 CPPUNIT_ASSERT(output[2]==4); 94 CPPUNIT_ASSERT(output[0]==1) [all...] |
bind_test.cpp | 58 CPPUNIT_ASSERT(p == &array[2]); 59 CPPUNIT_ASSERT(array[0] == 1); 60 CPPUNIT_ASSERT(array[1] == 2); 63 CPPUNIT_ASSERT(array[0] == 2); 64 CPPUNIT_ASSERT(array[1] == 3); 65 CPPUNIT_ASSERT(array[2] == 4); 68 CPPUNIT_ASSERT(array[0] == 3); 69 CPPUNIT_ASSERT(array[1] == 4); 70 CPPUNIT_ASSERT(array[2] == 5); 78 CPPUNIT_ASSERT(array[0]==1) [all...] |
istmit_test.cpp | 73 CPPUNIT_ASSERT(!strcmp(buffer, buff)); 77 CPPUNIT_ASSERT( istream_char_ite(empty_istr) == istream_char_ite() ); 93 CPPUNIT_ASSERT( chars == "aabb" ); 95 CPPUNIT_ASSERT( chars == "aabbcd" ); 104 CPPUNIT_ASSERT( ints.size() == 2 ); 105 CPPUNIT_ASSERT( ints[0] == 11 ); 106 CPPUNIT_ASSERT( ints[1] == 22 ); 110 CPPUNIT_ASSERT( strings.size() == 2 ); 111 CPPUNIT_ASSERT( strings[0] == "AA" ); 112 CPPUNIT_ASSERT( strings[1] == "BB" ) [all...] |
list_test.cpp | 68 CPPUNIT_ASSERT( *i1++ == 1 ); 69 CPPUNIT_ASSERT( *i1++ == 4 ); 70 CPPUNIT_ASSERT( *i1++ == 9 ); 71 CPPUNIT_ASSERT( *i1++ == 16 ); 72 CPPUNIT_ASSERT( *i1++ == 36 ); 76 CPPUNIT_ASSERT( i2 == l1.begin() ); 82 CPPUNIT_ASSERT( *(i1++) == 0 ); 83 CPPUNIT_ASSERT( *i1 == 0 ); 90 CPPUNIT_ASSERT( l_char_ite != l_int_ite ); 106 CPPUNIT_ASSERT(*i++==1) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
modulus_test.cpp | 36 CPPUNIT_ASSERT(output[0]==2); 37 CPPUNIT_ASSERT(output[1]==0); 38 CPPUNIT_ASSERT(output[2]==10); 39 CPPUNIT_ASSERT(output[3]==2);
|
rndshf_test.cpp | 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); 50 CPPUNIT_ASSERT(count(numbers, numbers+6, 5)==1); 51 CPPUNIT_ASSERT(count(numbers, numbers+6, 6)==1); 62 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 0)==1); 63 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 1)==1); 64 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 2)==1); 65 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 3)==1) [all...] |
adj_test.cpp | 47 CPPUNIT_ASSERT(location == numbers1 + 5); // no adj so loc should be _last 50 CPPUNIT_ASSERT(location != numbers2 + 5); // adj location off should be 3 (first 1) 51 CPPUNIT_ASSERT((location - numbers2)==3); 61 CPPUNIT_ASSERT(location == v.end()); 64 CPPUNIT_ASSERT(location != v.end()); 79 CPPUNIT_ASSERT(location != v.end()); 90 CPPUNIT_ASSERT(difference[0]==1); 91 CPPUNIT_ASSERT(difference[1]==1); 92 CPPUNIT_ASSERT(difference[2]==2); 93 CPPUNIT_ASSERT(difference[3]==4) [all...] |
iostream_test.cpp | 47 CPPUNIT_ASSERT( istr.good() ); 51 CPPUNIT_ASSERT( istr.eof() ); 52 CPPUNIT_ASSERT( !istr.fail() ); 53 CPPUNIT_ASSERT( foo == "bar" ); 56 CPPUNIT_ASSERT( istr.eof() ); 57 CPPUNIT_ASSERT( !istr.fail() ); 66 CPPUNIT_ASSERT( istr.good() ); 70 CPPUNIT_ASSERT( !istr.eof() ); 71 CPPUNIT_ASSERT( !istr.fail() ); 72 CPPUNIT_ASSERT( foo == "bar" ) [all...] |
ptr2_test.cpp | 51 CPPUNIT_ASSERT(output[0]==8); 52 CPPUNIT_ASSERT(output[1]==7); 53 CPPUNIT_ASSERT(output[2]==8); 54 CPPUNIT_ASSERT(output[3]==13); 64 CPPUNIT_ASSERT(output[0]==8); 65 CPPUNIT_ASSERT(output[1]==7); 66 CPPUNIT_ASSERT(output[2]==8); 67 CPPUNIT_ASSERT(output[3]==13); 74 CPPUNIT_ASSERT(p != array+3); 75 CPPUNIT_ASSERT(*p==2) [all...] |
unary_test.cpp | 49 CPPUNIT_ASSERT((p != array + 3)); 50 CPPUNIT_ASSERT(*p==2); 56 CPPUNIT_ASSERT(p != array + 3); 57 CPPUNIT_ASSERT(*p==2); 68 CPPUNIT_ASSERT(p != array + 3); 69 CPPUNIT_ASSERT(*p==3); 81 CPPUNIT_ASSERT(output[0]==1); 82 CPPUNIT_ASSERT(output[1]==2); 83 CPPUNIT_ASSERT(output[2]==4); 94 CPPUNIT_ASSERT(output[0]==1) [all...] |
bind_test.cpp | 58 CPPUNIT_ASSERT(p == &array[2]); 59 CPPUNIT_ASSERT(array[0] == 1); 60 CPPUNIT_ASSERT(array[1] == 2); 63 CPPUNIT_ASSERT(array[0] == 2); 64 CPPUNIT_ASSERT(array[1] == 3); 65 CPPUNIT_ASSERT(array[2] == 4); 68 CPPUNIT_ASSERT(array[0] == 3); 69 CPPUNIT_ASSERT(array[1] == 4); 70 CPPUNIT_ASSERT(array[2] == 5); 78 CPPUNIT_ASSERT(array[0]==1) [all...] |
istmit_test.cpp | 73 CPPUNIT_ASSERT(!strcmp(buffer, buff)); 77 CPPUNIT_ASSERT( istream_char_ite(empty_istr) == istream_char_ite() ); 93 CPPUNIT_ASSERT( chars == "aabb" ); 95 CPPUNIT_ASSERT( chars == "aabbcd" ); 104 CPPUNIT_ASSERT( ints.size() == 2 ); 105 CPPUNIT_ASSERT( ints[0] == 11 ); 106 CPPUNIT_ASSERT( ints[1] == 22 ); 110 CPPUNIT_ASSERT( strings.size() == 2 ); 111 CPPUNIT_ASSERT( strings[0] == "AA" ); 112 CPPUNIT_ASSERT( strings[1] == "BB" ) [all...] |
list_test.cpp | 68 CPPUNIT_ASSERT( *i1++ == 1 ); 69 CPPUNIT_ASSERT( *i1++ == 4 ); 70 CPPUNIT_ASSERT( *i1++ == 9 ); 71 CPPUNIT_ASSERT( *i1++ == 16 ); 72 CPPUNIT_ASSERT( *i1++ == 36 ); 76 CPPUNIT_ASSERT( i2 == l1.begin() ); 82 CPPUNIT_ASSERT( *(i1++) == 0 ); 83 CPPUNIT_ASSERT( *i1 == 0 ); 90 CPPUNIT_ASSERT( l_char_ite != l_int_ite ); 106 CPPUNIT_ASSERT(*i++==1) [all...] |
/ndk/tests/device/test-stlport/unit/ |
modulus_test.cpp | 36 CPPUNIT_ASSERT(output[0]==2); 37 CPPUNIT_ASSERT(output[1]==0); 38 CPPUNIT_ASSERT(output[2]==10); 39 CPPUNIT_ASSERT(output[3]==2);
|
rndshf_test.cpp | 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); 50 CPPUNIT_ASSERT(count(numbers, numbers+6, 5)==1); 51 CPPUNIT_ASSERT(count(numbers, numbers+6, 6)==1); 62 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 0)==1); 63 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 1)==1); 64 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 2)==1); 65 CPPUNIT_ASSERT(count(v1.begin(), v1.end(), 3)==1) [all...] |
adj_test.cpp | 47 CPPUNIT_ASSERT(location == numbers1 + 5); // no adj so loc should be _last 50 CPPUNIT_ASSERT(location != numbers2 + 5); // adj location off should be 3 (first 1) 51 CPPUNIT_ASSERT((location - numbers2)==3); 61 CPPUNIT_ASSERT(location == v.end()); 64 CPPUNIT_ASSERT(location != v.end()); 79 CPPUNIT_ASSERT(location != v.end()); 90 CPPUNIT_ASSERT(difference[0]==1); 91 CPPUNIT_ASSERT(difference[1]==1); 92 CPPUNIT_ASSERT(difference[2]==2); 93 CPPUNIT_ASSERT(difference[3]==4) [all...] |
iostream_test.cpp | 47 CPPUNIT_ASSERT( istr.good() ); 51 CPPUNIT_ASSERT( istr.eof() ); 52 CPPUNIT_ASSERT( !istr.fail() ); 53 CPPUNIT_ASSERT( foo == "bar" ); 56 CPPUNIT_ASSERT( istr.eof() ); 57 CPPUNIT_ASSERT( !istr.fail() ); 66 CPPUNIT_ASSERT( istr.good() ); 70 CPPUNIT_ASSERT( !istr.eof() ); 71 CPPUNIT_ASSERT( !istr.fail() ); 72 CPPUNIT_ASSERT( foo == "bar" ) [all...] |
ptr2_test.cpp | 51 CPPUNIT_ASSERT(output[0]==8); 52 CPPUNIT_ASSERT(output[1]==7); 53 CPPUNIT_ASSERT(output[2]==8); 54 CPPUNIT_ASSERT(output[3]==13); 64 CPPUNIT_ASSERT(output[0]==8); 65 CPPUNIT_ASSERT(output[1]==7); 66 CPPUNIT_ASSERT(output[2]==8); 67 CPPUNIT_ASSERT(output[3]==13); 74 CPPUNIT_ASSERT(p != array+3); 75 CPPUNIT_ASSERT(*p==2) [all...] |
unary_test.cpp | 49 CPPUNIT_ASSERT((p != array + 3)); 50 CPPUNIT_ASSERT(*p==2); 56 CPPUNIT_ASSERT(p != array + 3); 57 CPPUNIT_ASSERT(*p==2); 68 CPPUNIT_ASSERT(p != array + 3); 69 CPPUNIT_ASSERT(*p==3); 81 CPPUNIT_ASSERT(output[0]==1); 82 CPPUNIT_ASSERT(output[1]==2); 83 CPPUNIT_ASSERT(output[2]==4); 94 CPPUNIT_ASSERT(output[0]==1) [all...] |
bind_test.cpp | 58 CPPUNIT_ASSERT(p == &array[2]); 59 CPPUNIT_ASSERT(array[0] == 1); 60 CPPUNIT_ASSERT(array[1] == 2); 63 CPPUNIT_ASSERT(array[0] == 2); 64 CPPUNIT_ASSERT(array[1] == 3); 65 CPPUNIT_ASSERT(array[2] == 4); 68 CPPUNIT_ASSERT(array[0] == 3); 69 CPPUNIT_ASSERT(array[1] == 4); 70 CPPUNIT_ASSERT(array[2] == 5); 78 CPPUNIT_ASSERT(array[0]==1) [all...] |
istmit_test.cpp | 73 CPPUNIT_ASSERT(!strcmp(buffer, buff)); 77 CPPUNIT_ASSERT( istream_char_ite(empty_istr) == istream_char_ite() ); 93 CPPUNIT_ASSERT( chars == "aabb" ); 95 CPPUNIT_ASSERT( chars == "aabbcd" ); 104 CPPUNIT_ASSERT( ints.size() == 2 ); 105 CPPUNIT_ASSERT( ints[0] == 11 ); 106 CPPUNIT_ASSERT( ints[1] == 22 ); 110 CPPUNIT_ASSERT( strings.size() == 2 ); 111 CPPUNIT_ASSERT( strings[0] == "AA" ); 112 CPPUNIT_ASSERT( strings[1] == "BB" ) [all...] |