Home
last modified time | relevance | path

Searched refs:expectedValues (Results 1 – 25 of 48) sorted by relevance

12

/external/llvm-project/mlir/unittests/TableGen/
DStructsGenTest.cpp57 auto expectedValues = structAttr.getValue(); in TEST() local
58 ASSERT_EQ(expectedValues.size(), 3u); in TEST()
61 llvm::SmallVector<mlir::NamedAttribute, 5> newValues(expectedValues.begin(), in TEST()
62 expectedValues.end()); in TEST()
66 auto wrongAttr = mlir::NamedAttribute(wrongId, expectedValues[0].second); in TEST()
79 auto expectedValues = structAttr.getValue(); in TEST() local
80 ASSERT_EQ(expectedValues.size(), 3u); in TEST()
84 expectedValues.begin() + 1, expectedValues.end()); in TEST()
88 auto wrongAttr = mlir::NamedAttribute(wrongId, expectedValues[0].second); in TEST()
100 auto expectedValues = structAttr.getValue(); in TEST() local
[all …]
/external/libcxx/utils/google-benchmark/test/
Dmultiple_ranges_test.cc11 : expectedValues({{1, 3, 5}, in MultipleRangesFixture()
35 assert(expectedValues.find(ranges) != expectedValues.end()); in SetUp()
43 assert(actualValues.size() == expectedValues.size()); in ~MultipleRangesFixture()
44 if (actualValues.size() != expectedValues.size()) { in ~MultipleRangesFixture()
46 for (auto v : expectedValues) { in ~MultipleRangesFixture()
64 std::set<std::vector<int64_t>> expectedValues; member in MultipleRangesFixture
/external/llvm-project/llvm/utils/benchmark/test/
Dmultiple_ranges_test.cc11 : expectedValues({{1, 3, 5}, in MultipleRangesFixture()
35 assert(expectedValues.find(ranges) != expectedValues.end()); in SetUp()
43 assert(actualValues.size() == expectedValues.size()); in ~MultipleRangesFixture()
44 if (actualValues.size() != expectedValues.size()) { in ~MultipleRangesFixture()
46 for (auto v : expectedValues) { in ~MultipleRangesFixture()
64 std::set<std::vector<int64_t>> expectedValues; member in MultipleRangesFixture
/external/llvm-project/libcxx/utils/google-benchmark/test/
Dmultiple_ranges_test.cc11 : expectedValues({{1, 3, 5}, in MultipleRangesFixture()
35 assert(expectedValues.find(ranges) != expectedValues.end()); in SetUp()
43 assert(actualValues.size() == expectedValues.size()); in ~MultipleRangesFixture()
44 if (actualValues.size() != expectedValues.size()) { in ~MultipleRangesFixture()
46 for (auto v : expectedValues) { in ~MultipleRangesFixture()
64 std::set<std::vector<int64_t>> expectedValues; member in MultipleRangesFixture
/external/google-benchmark/test/
Dargs_product_test.cc11 : expectedValues({{0, 100, 2000, 30000}, in ArgsProductFixture()
30 assert(expectedValues.find(ranges) != expectedValues.end()); in SetUp()
38 if (actualValues != expectedValues) { in ~ArgsProductFixture()
40 for (auto v : expectedValues) { in ~ArgsProductFixture()
58 std::set<std::vector<int64_t>> expectedValues; member in ArgsProductFixture
Dmultiple_ranges_test.cc11 : expectedValues({{1, 3, 5}, in MultipleRangesFixture()
35 assert(expectedValues.find(ranges) != expectedValues.end()); in SetUp()
43 if (actualValues != expectedValues) { in ~MultipleRangesFixture()
45 for (auto v : expectedValues) { in ~MultipleRangesFixture()
63 std::set<std::vector<int64_t>> expectedValues; member in MultipleRangesFixture
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DListMultimapRemoveTester.java60 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromGetPropagates() local
63 expectedValues.remove(i); in testRemoveAtIndexFromGetPropagates()
65 assertGet(k0(), expectedValues); in testRemoveAtIndexFromGetPropagates() local
77 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapPropagates() local
81 expectedValues.remove(i); in testRemoveAtIndexFromAsMapPropagates()
83 assertGet(k0(), expectedValues); in testRemoveAtIndexFromAsMapPropagates() local
95 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapEntrySetPropagates() local
100 expectedValues.remove(i); in testRemoveAtIndexFromAsMapEntrySetPropagates()
102 assertGet(k0(), expectedValues); in testRemoveAtIndexFromAsMapEntrySetPropagates() local
DListMultimapPutTester.java47 List<V> expectedValues = Helpers.copyToList(values); in testPutAddsValueAtEnd() local
50 expectedValues.add(value); in testPutAddsValueAtEnd()
52 assertGet(key, expectedValues); in testPutAddsValueAtEnd()
70 List<V> expectedValues = copyToList(values); in testPutDuplicateValue() local
73 expectedValues.add(v); in testPutDuplicateValue()
74 assertGet(k, expectedValues); in testPutDuplicateValue()
DSetMultimapPutAllTester.java45 Set<V> expectedValues = copyToSet(multimap().get(k)); in testPutAllHandlesDuplicates() local
48 expectedValues.addAll(valuesToPut); in testPutAllHandlesDuplicates()
50 assertGet(k, expectedValues); in testPutAllHandlesDuplicates()
DListMultimapPutAllTester.java43 List<V> expectedValues = copyToList(multimap().get(k)); in testPutAllAddsAtEndInOrder() local
46 expectedValues.addAll(values); in testPutAllAddsAtEndInOrder()
48 assertGet(k, expectedValues); in testPutAllAddsAtEndInOrder()
DSetMultimapPutTester.java59 Set<V> expectedValues = copyToSet(values); in testPutDuplicateValue() local
62 assertEquals(expectedValues, values); in testPutDuplicateValue()
63 assertGet(k, expectedValues); in testPutDuplicateValue()
DMultimapAsMapTester.java53 List<V> expectedValues = new ArrayList<>(); in testAsMapGet() local
56 expectedValues.add(entry.getValue()); in testAsMapGet()
61 if (expectedValues.isEmpty()) { in testAsMapGet()
64 assertEqualIgnoringOrder(expectedValues, collection); in testAsMapGet()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DListMultimapRemoveTester.java60 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromGetPropagates() local
63 expectedValues.remove(i); in testRemoveAtIndexFromGetPropagates()
65 assertGet(k0(), expectedValues); in testRemoveAtIndexFromGetPropagates() local
77 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapPropagates() local
81 expectedValues.remove(i); in testRemoveAtIndexFromAsMapPropagates()
83 assertGet(k0(), expectedValues); in testRemoveAtIndexFromAsMapPropagates() local
95 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapEntrySetPropagates() local
100 expectedValues.remove(i); in testRemoveAtIndexFromAsMapEntrySetPropagates()
102 assertGet(k0(), expectedValues); in testRemoveAtIndexFromAsMapEntrySetPropagates() local
DListMultimapPutTester.java47 List<V> expectedValues = Helpers.copyToList(values); in testPutAddsValueAtEnd() local
50 expectedValues.add(value); in testPutAddsValueAtEnd()
52 assertGet(key, expectedValues); in testPutAddsValueAtEnd()
70 List<V> expectedValues = copyToList(values); in testPutDuplicateValue() local
73 expectedValues.add(v); in testPutDuplicateValue()
74 assertGet(k, expectedValues); in testPutDuplicateValue()
DSetMultimapPutAllTester.java45 Set<V> expectedValues = copyToSet(multimap().get(k)); in testPutAllHandlesDuplicates() local
48 expectedValues.addAll(valuesToPut); in testPutAllHandlesDuplicates()
50 assertGet(k, expectedValues); in testPutAllHandlesDuplicates()
DListMultimapPutAllTester.java43 List<V> expectedValues = copyToList(multimap().get(k)); in testPutAllAddsAtEndInOrder() local
46 expectedValues.addAll(values); in testPutAllAddsAtEndInOrder()
48 assertGet(k, expectedValues); in testPutAllAddsAtEndInOrder()
DSetMultimapPutTester.java59 Set<V> expectedValues = copyToSet(values); in testPutDuplicateValue() local
62 assertEquals(expectedValues, values); in testPutDuplicateValue()
63 assertGet(k, expectedValues); in testPutDuplicateValue()
DMultimapAsMapTester.java53 List<V> expectedValues = new ArrayList<>(); in testAsMapGet() local
56 expectedValues.add(entry.getValue()); in testAsMapGet()
61 if (expectedValues.isEmpty()) { in testAsMapGet()
64 assertEqualIgnoringOrder(expectedValues, collection); in testAsMapGet()
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/internal/
DMemoryTest.java63 private void assertIntsEqual(int[] expectedValues, long ptr, boolean swap) { in assertIntsEqual() argument
64 for (int i = 0; i < expectedValues.length; ++i) { in assertIntsEqual()
65 assertEquals(expectedValues[i], Memory.peekInt(ptr + Integer.BYTES * i, swap)); in assertIntsEqual()
104 private void assertLongsEqual(long[] expectedValues, long ptr, boolean swap) { in assertLongsEqual() argument
105 for (int i = 0; i < expectedValues.length; ++i) { in assertLongsEqual()
106 assertEquals(expectedValues[i], Memory.peekLong(ptr + Long.BYTES * i, swap)); in assertLongsEqual()
142 private void assertShortsEqual(short[] expectedValues, long ptr, boolean swap) { in assertShortsEqual() argument
143 for (int i = 0; i < expectedValues.length; ++i) { in assertShortsEqual()
144 assertEquals(expectedValues[i], Memory.peekShort(ptr + Short.BYTES * i, swap)); in assertShortsEqual()
/external/guice/core/test/com/google/inject/
DBinderTestSuite.java82 .expectedValues(new PlainA(1), new PlainA(1), new PlainA(1)) in suite()
98 .expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)) in suite()
220 .expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)) in suite()
287 builder.expectedValues(new PlainA(101), new PlainA(101), new PlainA(101)); in apply()
300 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(201)); in apply()
312 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(201)); in apply()
324 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)); in apply()
336 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)); in apply()
364 private List<Object> expectedValues = field in BinderTestSuite.Builder
407 private <T> Builder expectedValues(T... values) { in expectedValues() method in BinderTestSuite.Builder
[all …]
/external/OpenCL-CTS/test_conformance/basic/
Dtest_constant_source.cpp54 …cl_int expectedValues[ 17 ] = { 42, 1985, 01, 11, 12, 1955, 11, 5, 1985, 113, 1, 24, 1984,… in test_constant_source() local
83 if( expectedValues[ i ] != outValues[ i ] ) in test_constant_source()
86 …onstant source global did not validate! (Expected %d, got %d)\n", i, expectedValues[ i ], outValue… in test_constant_source()
88 …ndexed constant array did not validate! (Expected %d, got %d)\n", i, expectedValues[ i ], outValue… in test_constant_source()
90 …ndexed constant array did not validate! (Expected %d, got %d)\n", i, expectedValues[ i ], outValue… in test_constant_source()
/external/guava/guava-tests/test/com/google/common/math/
DBigDecimalMathTest.java42 private final Map<RoundingMode, Double> expectedValues = new EnumMap<>(RoundingMode.class); field in BigDecimalMathTest.RoundToDoubleTester
51 Double previous = expectedValues.put(mode, expectedValue); in setExpectation()
65 assertThat(expectedValues.keySet()) in test()
67 for (Map.Entry<RoundingMode, Double> entry : expectedValues.entrySet()) { in test()
75 if (!expectedValues.containsKey(UNNECESSARY)) { in test()
/external/guava/android/guava-tests/test/com/google/common/math/
DBigDecimalMathTest.java42 private final Map<RoundingMode, Double> expectedValues = new EnumMap<>(RoundingMode.class); field in BigDecimalMathTest.RoundToDoubleTester
51 Double previous = expectedValues.put(mode, expectedValue); in setExpectation()
65 assertThat(expectedValues.keySet()) in test()
67 for (Map.Entry<RoundingMode, Double> entry : expectedValues.entrySet()) { in test()
75 if (!expectedValues.containsKey(UNNECESSARY)) { in test()
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTransformValuesTest.java93 Collection<?> expectedValues = expected.values(); in assertMapsEqual() local
95 assertEquals(expectedValues.size(), mapValues.size()); in assertMapsEqual()
96 assertTrue(expectedValues.containsAll(mapValues)); in assertMapsEqual()
97 assertTrue(mapValues.containsAll(expectedValues)); in assertMapsEqual()
/external/guava/android/guava-tests/test/com/google/common/collect/
DMapsTransformValuesTest.java92 Collection<?> expectedValues = expected.values(); in assertMapsEqual() local
94 assertEquals(expectedValues.size(), mapValues.size()); in assertMapsEqual()
95 assertTrue(expectedValues.containsAll(mapValues)); in assertMapsEqual()
96 assertTrue(mapValues.containsAll(expectedValues)); in assertMapsEqual()

12