Searched defs:expected (Results 201 - 225 of 775) sorted by relevance

1234567891011>>

/external/libcxx/test/std/strings/basic.string/string.capacity/
H A Dresize_size_char.pass.cpp22 test(S s, typename S::size_type n, typename S::value_type c, S expected) argument
29 assert(s == expected);
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_append/
H A Dstring_size_size.pass.cpp24 test(S s, S str, typename S::size_type pos, typename S::size_type n, S expected) argument
31 assert(s == expected);
41 test_npos(S s, S str, typename S::size_type pos, S expected) argument
48 assert(s == expected);
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/
H A Dstring_size_size.pass.cpp24 test(S s, S str, typename S::size_type pos, typename S::size_type n, S expected) argument
31 assert(s == expected);
41 test_npos(S s, S str, typename S::size_type pos, S expected) argument
48 assert(s == expected);
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_erase/
H A Diter.pass.cpp21 test(S s, typename S::difference_type pos, S expected) argument
26 assert(s == expected);
H A Diter_iter.pass.cpp21 test(S s, typename S::difference_type pos, typename S::difference_type n, S expected) argument
27 assert(s == expected);
H A Dsize_size.pass.cpp23 test(S s, typename S::size_type pos, typename S::size_type n, S expected) argument
32 assert(s == expected);
43 test(S s, typename S::size_type pos, S expected) argument
52 assert(s == expected);
63 test(S s, S expected) argument
67 assert(s == expected);
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
H A Dsize_pointer.pass.cpp23 test(S s, typename S::size_type pos, const typename S::value_type* str, S expected) argument
32 assert(s == expected);
H A Dsize_pointer_size.pass.cpp24 typename S::size_type n, S expected)
33 assert(s == expected);
23 test(S s, typename S::size_type pos, const typename S::value_type* str, typename S::size_type n, S expected) argument
H A Dsize_size_char.pass.cpp24 typename S::value_type str, S expected)
33 assert(s == expected);
23 test(S s, typename S::size_type pos, typename S::size_type n, typename S::value_type str, S expected) argument
H A Dsize_string.pass.cpp23 test(S s, typename S::size_type pos, S str, S expected) argument
32 assert(s == expected);
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
H A Dinvoke_int_0.pass.cpp22 test(F f, R expected) argument
24 assert(f() == expected);
29 test_const(const F& f, R expected) argument
31 assert(f() == expected);
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
H A DAnalyzerException.java50 final Object expected,
53 super((msg == null ? "Expected " : msg + ": expected ") + expected
48 AnalyzerException( final String msg, final Object expected, final Value encountered) argument
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
H A DHttpKeepAliveTest.java16 String[] expected = {
24 testManyRequests(request, expected);
31 String[] expected = {
39 testManyRequests(request, expected);
48 * @param expected The expected response
50 public void testManyRequests(final String request, final String[] expected) throws Exception { argument
62 assertResponse(outputStream, expected);
/external/smali/util/src/test/java/org/jf/util/
H A DStringWrapperTest.java105 public static void validateResult(String[] expected, String[] actual) { argument
106 Assert.assertTrue(actual.length >= expected.length);
111 Assert.assertTrue(i == expected.length);
114 Assert.assertTrue(i < expected.length);
115 Assert.assertEquals(expected[i], actual[i]);
/external/v8/test/mjsunit/
H A Dstring-fromcharcode.js33 var expected = ""; variable
35 expected += String.fromCharCode(i);
47 assertEquals(expected, testCharCodeTruncation());
48 assertEquals(expected, testCharCodeTruncation());
50 assertEquals(expected, testCharCodeTruncation());
92 var expected = (num < 5) ? " " : (num < 9) ? Object("dummy") : Object(42);
93 assertEquals(expected, receiver.fromCharCode(0x20));
94 assertEquals(expected, receiver.fromCharCode(0x20 - 0x10000));
95 assertEquals(expected, receiver.fromCharCode(0x20 + 0.5));
96 assertEquals(expected, fcc
[all...]
/external/v8/test/webkit/
H A Ddfg-dead-min-two-args.js41 var expected = 42; variable
47 expected = 37;
58 expected = 42;
63 expected = 37;
/external/v8/test/mjsunit/compiler/
H A Dinline-literals.js41 var expected = [a, [b, c, b + c]];
43 assertEquals(expected, result, "TestArrayLiteral");
61 var expected = { 'a':a, 'x':{ 'b':b, 'c':c, 'y':b + c } };
63 assertEquals(expected, result, "TestObjectLiteral");
80 function TestRegExpLiteral(s, x, y, expected) {
82 assertEquals(expected, result, "TestRegExpLiteral");
101 function TestFunctionLiteral(a, b, c, expected) {
103 assertEquals(expected, result, "TestFunctionLiteral");
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestDFAMatching.java95 protected void checkPrediction(DFA dfa, String input, int expected) argument
99 assertEquals(dfa.predict(stream), expected);
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/
H A DDimensionMismatchException.java39 * @param expected Expected dimension.
42 int expected) {
43 super(LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, wrong, expected);
44 dimension = expected;
48 * @return the expected dimension.
41 DimensionMismatchException(int wrong, int expected) argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
H A DChiSquareTest.java32 * Chi-Square statistic</a> comparing <code>observed</code> and <code>expected</code>
36 * the observed counts follow the expected distribution.</p>
43 * <li>The observed and expected arrays must have the same length and
50 * @param expected array of expected frequency counts
54 double chiSquare(double[] expected, long[] observed) argument
63 * frequency counts to those in the <code>expected</code> array.
67 * described by the expected counts.</p>
74 * <li>The observed and expected arrays must have the same length and
81 * @param expected arra
86 chiSquareTest(double[] expected, long[] observed) argument
121 chiSquareTest(double[] expected, long[] observed, double alpha) argument
[all...]
/external/ceres-solver/internal/ceres/
H A Dincomplete_lq_factorization_test.cc42 void ExpectMatricesAreEqual(const CompressedRowSparseMatrix& expected, argument
45 EXPECT_EQ(expected.num_rows(), actual.num_rows());
46 EXPECT_EQ(expected.num_cols(), actual.num_cols());
47 for (int i = 0; i < expected.num_rows(); ++i) {
48 EXPECT_EQ(expected.rows()[i], actual.rows()[i]);
52 EXPECT_EQ(expected.cols()[i], actual.cols()[i]);
53 EXPECT_NEAR(expected.values()[i], actual.values()[i], tolerance);
116 << "expected: \n" << expected_l_matrix
/external/compiler-rt/test/builtins/Unit/
H A Dashlti3_test.c25 int test__ashlti3(ti_int a, si_int b, ti_int expected) argument
28 if (x != expected)
37 expectedt.all = expected;
39 " expected 0x%llX%.16llX\n",
43 return x != expected;
H A Ddivti3_test.c23 int test__divti3(ti_int a, ti_int b, ti_int expected) argument
26 if (x != expected)
35 expectedt.all = expected;
37 "0x%llX%.16llX, expected 0x%llX%.16llX\n",
41 return x != expected;
H A Dmodti3_test.c23 int test__modti3(ti_int a, ti_int b, ti_int expected) argument
26 if (x != expected)
35 expectedt.all = expected;
37 "0x%.16llX%.16llX, expected 0x%.16llX%.16llX\n",
41 return x != expected;
H A Dmuloti4_test.c25 int test__muloti4(ti_int a, ti_int b, ti_int expected, int expected_overflow) argument
37 expectedt.all = expected;
39 printf("error in __muloti4: overflow=%d expected=%d\n",
42 "0x%.16llX%.16llX, expected 0x%.16llX%.16llX\n",
47 else if (!expected_overflow && x != expected)
56 expectedt.all = expected;
58 "0x%.16llX%.16llX, expected 0x%.16llX%.16llX\n",

Completed in 680 milliseconds

1234567891011>>