/external/llvm-project/mlir/unittests/TableGen/ |
D | StructsGenTest.cpp | 57 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/ |
D | multiple_ranges_test.cc | 11 : 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/ |
D | multiple_ranges_test.cc | 11 : 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/ |
D | multiple_ranges_test.cc | 11 : 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/ |
D | args_product_test.cc | 11 : 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
|
D | multiple_ranges_test.cc | 11 : 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/ |
D | ListMultimapRemoveTester.java | 60 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
|
D | ListMultimapPutTester.java | 47 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()
|
D | SetMultimapPutAllTester.java | 45 Set<V> expectedValues = copyToSet(multimap().get(k)); in testPutAllHandlesDuplicates() local 48 expectedValues.addAll(valuesToPut); in testPutAllHandlesDuplicates() 50 assertGet(k, expectedValues); in testPutAllHandlesDuplicates()
|
D | ListMultimapPutAllTester.java | 43 List<V> expectedValues = copyToList(multimap().get(k)); in testPutAllAddsAtEndInOrder() local 46 expectedValues.addAll(values); in testPutAllAddsAtEndInOrder() 48 assertGet(k, expectedValues); in testPutAllAddsAtEndInOrder()
|
D | SetMultimapPutTester.java | 59 Set<V> expectedValues = copyToSet(values); in testPutDuplicateValue() local 62 assertEquals(expectedValues, values); in testPutDuplicateValue() 63 assertGet(k, expectedValues); in testPutDuplicateValue()
|
D | MultimapAsMapTester.java | 53 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/ |
D | ListMultimapRemoveTester.java | 60 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
|
D | ListMultimapPutTester.java | 47 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()
|
D | SetMultimapPutAllTester.java | 45 Set<V> expectedValues = copyToSet(multimap().get(k)); in testPutAllHandlesDuplicates() local 48 expectedValues.addAll(valuesToPut); in testPutAllHandlesDuplicates() 50 assertGet(k, expectedValues); in testPutAllHandlesDuplicates()
|
D | ListMultimapPutAllTester.java | 43 List<V> expectedValues = copyToList(multimap().get(k)); in testPutAllAddsAtEndInOrder() local 46 expectedValues.addAll(values); in testPutAllAddsAtEndInOrder() 48 assertGet(k, expectedValues); in testPutAllAddsAtEndInOrder()
|
D | SetMultimapPutTester.java | 59 Set<V> expectedValues = copyToSet(values); in testPutDuplicateValue() local 62 assertEquals(expectedValues, values); in testPutDuplicateValue() 63 assertGet(k, expectedValues); in testPutDuplicateValue()
|
D | MultimapAsMapTester.java | 53 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/ |
D | MemoryTest.java | 63 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/ |
D | BinderTestSuite.java | 82 .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/ |
D | test_constant_source.cpp | 54 …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/ |
D | BigDecimalMathTest.java | 42 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/ |
D | BigDecimalMathTest.java | 42 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/ |
D | MapsTransformValuesTest.java | 93 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/ |
D | MapsTransformValuesTest.java | 92 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()
|