Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 2298) sorted by relevance

12345678910>>...92

/external/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/
Dexpected.pass.cpp20 struct expected { struct
33 expected() {} in expected() argument
34 expected(T val) : data{std::move(val),{}} {} in expected() argument
35 expected(struct error, Error error) : data{{}, std::move(error)} {} in expected() argument
36 expected(DataPtr & p) : data{std::move(p.p->val), std::move(p.p->error)} {} in expected() argument
58 expected<int> g() { return {0}; } in g() argument
/external/testng/src/main/java/org/testng/asserts/
DAssertion.java71 private final T expected; field in Assertion.SimpleAssert
78 public SimpleAssert(T actual, T expected) { in SimpleAssert()
82 public SimpleAssert(T actual, T expected, String message) { in SimpleAssert()
171 public <T> void assertEquals(final T actual, final T expected, final String message) { in assertEquals()
180 public <T> void assertEquals(final T actual, final T expected) { in assertEquals()
189 public void assertEquals(final String actual, final String expected, final String message) { in assertEquals()
197 public void assertEquals(final String actual, final String expected) { in assertEquals()
206 public void assertEquals(final double actual, final double expected, final double delta, in assertEquals()
216 public void assertEquals(final double actual, final double expected, final double delta) { in assertEquals()
225 public void assertEquals(final float actual, final float expected, final float delta, in assertEquals()
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/util/
DTryListBuilderTest.java56 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatchAll_Beginning() local
70 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatchAll_Middle() local
84 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatch_Beginning() local
98 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatch_Middle() local
113 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_End_After() local
131 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_After_After() local
149 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Before_Start() local
167 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Before_Before() local
185 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Start_End() local
203 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Start_Middle() local
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dliteral_test_util.h156 /* static */ void LiteralTestUtil::ExpectR0Equal(NativeT expected, in ExpectR0Equal()
163 absl::Span<const NativeT> expected, const LiteralSlice& actual) { in ExpectR1Equal()
169 std::initializer_list<std::initializer_list<NativeT>> expected, in ExpectR2Equal()
176 std::initializer_list<std::initializer_list<std::initializer_list<NativeT>>> in ExpectR3Equal()
184 const Array2D<NativeT>& expected, const LiteralSlice& actual) { in ExpectR2EqualArray2D()
190 const Array3D<NativeT>& expected, const LiteralSlice& actual) { in ExpectR3EqualArray3D()
196 const Array4D<NativeT>& expected, const LiteralSlice& actual) { in ExpectR4EqualArray4D()
201 /* static */ void LiteralTestUtil::ExpectR0Near(NativeT expected, in ExpectR0Near()
209 absl::Span<const NativeT> expected, const LiteralSlice& actual, in ExpectR1Near()
216 std::initializer_list<std::initializer_list<NativeT>> expected, in ExpectR2Near()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dresize_nearest_neighbor_op_test.cc81 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_F() local
99 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_F() local
116 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_F() local
137 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_F() local
159 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 2, 2, 1})); in TEST_F() local
181 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 2, 2, 1})); in TEST_F() local
200 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 2, 5, 1})); in TEST_F() local
223 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_F() local
248 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_F() local
268 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 5, 2, 1})); in TEST_F() local
[all …]
Dquantize_and_dequantize_op_test.cc57 Tensor expected(allocator(), DT_FLOAT, TensorShape({1})); in TEST_F() local
83 Tensor expected(allocator(), DT_FLOAT, TensorShape({1})); in TEST_F() local
113 Tensor expected(allocator(), DT_FLOAT, TensorShape({7})); in TEST_F() local
146 Tensor expected(allocator(), DT_FLOAT, TensorShape({7})); in TEST_F() local
177 Tensor expected(allocator(), DT_FLOAT, TensorShape({6})); in TEST_F() local
206 Tensor expected(allocator(), DT_FLOAT, TensorShape({6})); in TEST_F() local
235 Tensor expected(allocator(), DT_FLOAT, TensorShape({6})); in TEST_F() local
264 Tensor expected(allocator(), DT_FLOAT, TensorShape({6})); in TEST_F() local
296 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 4})); in TEST_F() local
328 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 4})); in TEST_F() local
[all …]
Droll_op_test.cc62 Tensor expected(allocator(), DT_FLOAT, TensorShape({5})); in TEST_F() local
77 Tensor expected(allocator(), DT_STRING, TensorShape({5})); in TEST_F() local
95 Tensor expected(allocator(), DT_COMPLEX64, TensorShape({5})); in TEST_F() local
114 Tensor expected(allocator(), DT_FLOAT, TensorShape({3, 5})); in TEST_F() local
132 Tensor expected(allocator(), DT_STRING, TensorShape({3, 5})); in TEST_F() local
149 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 2, 3})); in TEST_F() local
166 Tensor expected(allocator(), DT_STRING, TensorShape({2, 2, 3})); in TEST_F() local
183 Tensor expected(allocator(), DT_FLOAT, TensorShape({5, 3})); in TEST_F() local
201 Tensor expected(allocator(), DT_STRING, TensorShape({5, 3})); in TEST_F() local
218 Tensor expected(allocator(), DT_FLOAT, TensorShape({4, 1, 3})); in TEST_F() local
[all …]
Ddynamic_partition_op_test.cc64 Tensor expected(allocator(), DT_FLOAT, TensorShape({2})); in TEST_F() local
69 Tensor expected(allocator(), DT_FLOAT, TensorShape({1})); in TEST_F() local
74 Tensor expected(allocator(), DT_FLOAT, TensorShape({2})); in TEST_F() local
79 Tensor expected(allocator(), DT_FLOAT, TensorShape({1})); in TEST_F() local
97 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 3})); in TEST_F() local
102 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3})); in TEST_F() local
107 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 3})); in TEST_F() local
112 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3})); in TEST_F() local
132 Tensor expected(allocator(), DT_FLOAT, TensorShape({3})); in TEST_F() local
140 Tensor expected(allocator(), DT_FLOAT, TensorShape({3})); in TEST_F() local
Dcolorspace_op_test.cc46 Tensor expected(allocator(), data_type, TensorShape({3})); in CheckBlack() local
56 Tensor expected(allocator(), data_type, TensorShape({3})); in CheckGray() local
66 Tensor expected(allocator(), data_type, TensorShape({3})); in CheckWhite() local
80 Tensor expected(allocator(), data_type, TensorShape({3})); in CheckRedMax() local
94 Tensor expected(allocator(), data_type, TensorShape({3})); in CheckGreenMax() local
108 Tensor expected(allocator(), data_type, TensorShape({3})); in CheckBlueMax() local
121 Tensor expected(allocator(), data_type, TensorShape({3})); in CheckNegativeDifference() local
142 Tensor expected(allocator(), data_type, TensorShape({3})); in CheckBlack() local
152 Tensor expected(allocator(), data_type, TensorShape({3})); in CheckGray() local
162 Tensor expected(allocator(), data_type, TensorShape({3})); in CheckWhite() local
[all …]
Dcrop_and_resize_op_test.cc99 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in REGISTER_TEST() local
115 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_F() local
131 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_F() local
147 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_F() local
163 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_F() local
184 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_F() local
205 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_F() local
226 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_F() local
249 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 2, 2, 1})); in TEST_F() local
274 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 2, 2, 1})); in TEST_F() local
[all …]
/external/testng/src/main/java/org/testng/
DAssertJUnit.java73 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals()
87 static public void assertEquals(Object expected, Object actual) { in assertEquals()
94 static public void assertEquals(String message, String expected, String actual) { in assertEquals()
107 static public void assertEquals(String expected, String actual) { in assertEquals()
116 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals()
134 static public void assertEquals(double expected, double actual, double delta) { in assertEquals()
143 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals()
161 static public void assertEquals(float expected, float actual, float delta) { in assertEquals()
169 static public void assertEquals(String message, long expected, long actual) { in assertEquals()
176 static public void assertEquals(long expected, long actual) { in assertEquals()
[all …]
DAssert.java111 static public void assertEquals(Object actual, Object expected, String message) { in assertEquals()
124 private static void assertEqualsImpl(Object actual, Object expected, in assertEqualsImpl()
138 private static void assertArrayEquals(Object actual, Object expected, String message) { in assertArrayEquals()
178 static public void assertEquals(Object actual, Object expected) { in assertEquals()
189 static public void assertEquals(String actual, String expected, String message) { in assertEquals()
199 static public void assertEquals(String actual, String expected) { in assertEquals()
212 static public void assertEquals(double actual, double expected, double delta, String message) { in assertEquals()
238 static public void assertEquals(double actual, double expected, double delta) { in assertEquals()
251 static public void assertEquals(float actual, float expected, float delta, String message) { in assertEquals()
272 static public void assertEquals(float actual, float expected, float delta) { in assertEquals()
[all …]
/external/parameter-framework/upstream/test/tokenizer/
DTest.cpp50 Expected expected{"a", "bcd", "ef"}; variable
59 Expected expected{}; variable
68 Expected expected{"a", "bc"}; variable
78 Expected expected{"a", "bcd", "ef g", "h"}; variable
89 Expected expected{}; variable
98 Expected expected{"", ""}; variable
107 Expected expected{"", "a", "", "b", "", "c", "d", ""}; variable
/external/junit/src/main/java/junit/framework/
DAssert.java71 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals()
85 static public void assertEquals(Object expected, Object actual) { in assertEquals()
92 static public void assertEquals(String message, String expected, String actual) { in assertEquals()
106 static public void assertEquals(String expected, String actual) { in assertEquals()
115 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals()
128 static public void assertEquals(double expected, double actual, double delta) { in assertEquals()
137 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals()
150 static public void assertEquals(float expected, float actual, float delta) { in assertEquals()
158 static public void assertEquals(String message, long expected, long actual) { in assertEquals()
165 static public void assertEquals(long expected, long actual) { in assertEquals()
[all …]
DTestCase.java243 public static void assertEquals(String message, Object expected, Object actual) { in assertEquals()
252 public static void assertEquals(Object expected, Object actual) { in assertEquals()
260 public static void assertEquals(String message, String expected, String actual) { in assertEquals()
268 public static void assertEquals(String expected, String actual) { in assertEquals()
278 public static void assertEquals(String message, double expected, double actual, double delta) { in assertEquals()
287 public static void assertEquals(double expected, double actual, double delta) { in assertEquals()
297 public static void assertEquals(String message, float expected, float actual, float delta) { in assertEquals()
306 public static void assertEquals(float expected, float actual, float delta) { in assertEquals()
315 public static void assertEquals(String message, long expected, long actual) { in assertEquals()
323 public static void assertEquals(long expected, long actual) { in assertEquals()
[all …]
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtilTest.java53 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
61 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
69 ByteBuffer expected = ByteBuffer.allocateDirect(17); in testCorrectMessageParsing() local
83 ByteBuffer expected = ByteBuffer.allocateDirect(15); in testCorrectMessageParsing() local
95 ByteBuffer expected = ByteBuffer.allocateDirect(3); in testCorrectMessageParsing() local
106 ByteBuffer expected = ByteBuffer.allocateDirect(12); in testCorrectMessageParsing() local
116 ByteBuffer expected = ByteBuffer.allocateDirect(14); in testCorrectMessageParsing() local
128 ByteBuffer expected = ByteBuffer.allocateDirect(8); in testCorrectMessageParsing() local
144 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
DBindingsVersioningTest.java64 MultiVersionStruct expected = new MultiVersionStruct(); in testOldToNew() local
77 MultiVersionStruct expected = new MultiVersionStruct(); in testOldToNew() local
92 MultiVersionStruct expected = new MultiVersionStruct(); in testOldToNew() local
109 MultiVersionStruct expected = new MultiVersionStruct(); in testOldToNew() local
132 MultiVersionStruct expected = new MultiVersionStruct(); in testOldToNew() local
159 MultiVersionStructV0 expected = new MultiVersionStructV0(); in testNewToOld() local
168 MultiVersionStructV1 expected = new MultiVersionStructV1(); in testNewToOld() local
178 MultiVersionStructV3 expected = new MultiVersionStructV3(); in testNewToOld() local
189 MultiVersionStructV5 expected = new MultiVersionStructV5(); in testNewToOld() local
202 MultiVersionStructV7 expected = new MultiVersionStructV7(); in testNewToOld() local
/external/openssh/regress/unittests/hostkeys/
Dtest_iterate.c25 struct expected { struct
38 const struct expected *expected; argument
56 const struct expected *expected; in check() local
146 prepare_expected(struct expected *expected, size_t n) in prepare_expected()
/external/guava/guava-testlib/test/com/google/common/testing/
DFreshValueGeneratorTest.java331 TreeSet<String> expected = Sets.newTreeSet(); in testTreeSet() local
340 TreeSet<String> expected = Sets.newTreeSet(); in testSortedSet() local
349 TreeSet<String> expected = Sets.newTreeSet(); in testNavigableSet() local
358 Multiset<String> expected = HashMultiset.create(); in testMultiset() local
367 SortedMultiset<String> expected = TreeMultiset.create(); in testSortedMultiset() local
376 HashMultiset<String> expected = HashMultiset.create(); in testHashMultiset() local
384 LinkedHashMultiset<String> expected = LinkedHashMultiset.create(); in testLinkedHashMultiset() local
392 TreeMultiset<String> expected = TreeMultiset.create(); in testTreeMultiset() local
423 Map<String, Integer> expected = Maps.newLinkedHashMap(); in testMap() local
433 HashMap<String, Integer> expected = Maps.newLinkedHashMap(); in testHashMap() local
[all …]
/external/tensorflow/tensorflow/java/src/gen/cc/
Dsource_writer_test.cc31 const char* expected = "You say goodbye and I say hello!"; in TEST() local
39 const char* expected = "You say goodbye\nand I say hello!"; in TEST() local
47 const char* expected = " You say goodbye\nand I say hello!"; in TEST() local
55 const char* expected = "--You say goodbye\nand I say hello!"; in TEST() local
63 const char* expected = " --You say goodbye\nand I say hello!"; in TEST() local
71 const char* expected = "You say goodbye and I say hello!"; in TEST() local
79 const char* expected = "You say goodbye\nand I say hello!"; in TEST() local
87 const char* expected = " You say goodbye\n and I say hello!"; in TEST() local
95 const char* expected = "--You say goodbye\n--and I say hello!"; in TEST() local
103 const char* expected = " --You say goodbye\n --and I say hello!"; in TEST() local
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowOpenGLMatrixTest.java117 final float[] expected = new float[]{ in multiplyMM() local
153 final float[] expected = new float[]{ in multiplyMMWithOffset() local
183 final float[] expected = new float[]{ in multiplyMMRandom() local
261 float[] expected = new float[]{14268, 15701, 17134, 18567}; in multiplyMV() local
281 float[] expected = new float[]{ in multiplyMVWithOffset() local
300 final float[] expected = new float[]{ in multiplyMVRandom() local
348 float[] expected = new float[]{ in testMultiplyMM() local
367 float[] expected = new float[]{ in testFrustumM() local
381 float[] expected = new float[]{ in testFrustumJB_MR1() local
394 float[] expected = new float[]{ in testPerspectiveM() local
[all …]
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DImplicitReferenceTest.java53 String expected = "" + in testImplicitMethodReferences() local
84 String expected = "" + in testExplicitMethodReferences() local
112 String expected = "" + in testImplicitMethodLiterals() local
137 String expected = "" + in testExplicitMethodLiterals() local
165 String expected = "" + in testImplicitFieldReferences() local
196 String expected = "" + in testExplicitFieldReferences() local
223 String expected = "" + in testImplicitFieldLiterals() local
246 String expected = "" + in testExplicitFieldLiterals() local
/external/testng/src/test/java/test/failures/
DFailuresTest.java21 String[] expected = new String[] { in shouldIncludeFailedMethodsFromBaseClass() local
27 verify(getOutputDir(), expected); in shouldIncludeFailedMethodsFromBaseClass() local
36 String[] expected = new String[] { in shouldIncludeDependentMethods() local
41 verify(getOutputDir(), expected); in shouldIncludeDependentMethods() local
55 String[] expected = new String[] { in shouldIncludeParameters() local
59 verify(getOutputDir(), expected); in shouldIncludeParameters() local
/external/testng/src/test/java/org/testng/
DAssertTest.java19 Object[] expected= null; in nullObjectArrayAssertEquals() local
26 Object[] expected= null; in nullObjectArrayAssertNoOrder() local
33 Collection expected = null; in nullCollectionAssertEquals() local
40 Set expected = null; in nullSetAssertEquals() local
47 Map expected = null; in nullMapAssertEquals() local
54 Set expected = Sets.newHashSet(); in setAssertEquals() local
67 Map expected = Maps.newHashMap(); in mapAssertEquals() local
82 Map expected = Maps.newHashMap(); in oneNullMapAssertEquals() local
95 Set expected = null; in oneNullSetAssertEquals() local
127 Object[] expected = {1, new Contrived(42), "inDay"}; in assertEqualsSymmetricArrays() local
/external/deqp/framework/delibs/decpp/
DdeRandom.cpp54 …static const bool expected[] = { true, false, false, false, true, true, false, false, false, false… in Random_selfTest() local
63 static const int expected[] = { -6628, -6483, 802, -7758, -8463, 3165, 9216, 3107, 1851, 8707 }; in Random_selfTest() local
72 …static const deUint32 expected[] = { 3694588092u, 3135240271u, 882874943u, 2108407657u, 376640368u… in Random_selfTest() local
81 …static const deUint64 expected[] = { 15868135030466279503ull, 3791919008751271785ull, 161765806430… in Random_selfTest() local
90 …static const float expected[] = { 0.763413f, 0.679680f, 0.288965f, 0.854431f, 0.403095f, 0.198132f… in Random_selfTest() local
100 …static const float expected[] = { 824.996643f, 675.039185f, -24.691774f, 987.999756f, 179.702286f,… in Random_selfTest() local
112 static const int expected[][numItemsPicked] = in Random_selfTest() local
140 static const int expected[] = { 43, 123, -90, -90, 0, 3, 43, 0, 654, 43 }; in Random_selfTest() local
153 static const int expected[] = { -90, 654, 45, 0, 45, 45, -123, -90, 45, 654 }; in Random_selfTest() local
164 static const int expected[][DE_LENGTH_OF_ARRAY(items)] = in Random_selfTest() local

12345678910>>...92