Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/packages/services/Car/car-test-lib/src/android/car/test/
DAbstractExpectableTestCase.java77 ComparableT actual) { in expectThat() argument
78 return mExpect.that(actual); in expectThat()
81 protected final BigDecimalSubject expectThat(BigDecimal actual) { in expectThat() argument
82 return mExpect.that(actual); in expectThat()
85 protected final Subject expectThat(Object actual) { in expectThat() argument
86 return mExpect.that(actual); in expectThat()
90 protected final ClassSubject expectThat(Class<?> actual) { in expectThat() argument
91 return mExpect.that(actual); in expectThat()
94 protected final ThrowableSubject expectThat(Throwable actual) { in expectThat() argument
95 return mExpect.that(actual); in expectThat()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DSearchUtilTest.java30 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testFindMatchingLine() local
33 SearchUtil.MatchedLine matched = SearchUtil.findMatchingLine(actual, "poten"); in testFindMatchingLine()
38 matched = SearchUtil.findMatchingLine(actual, "hello"); in testFindMatchingLine()
43 matched = SearchUtil.findMatchingLine(actual, "this"); in testFindMatchingLine()
48 matched = SearchUtil.findMatchingLine(actual, "punc"); in testFindMatchingLine()
54 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testContains() local
56 assertEquals(0, SearchUtil.contains(actual, "this")); in testContains()
57 assertEquals(10, SearchUtil.contains(actual, "lon")); in testContains()
65 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testContainsNotFound() local
69 assertEquals(-1, SearchUtil.contains(actual, "ith")); in testContainsNotFound()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java706 WifiConfiguration expected, WifiConfiguration actual, boolean isSupplicantBackup) { in assertCommonConfigurationElementsEqual() argument
708 assertNotNull(actual); in assertCommonConfigurationElementsEqual()
709 assertEquals(WifiSsid.fromString(expected.SSID), WifiSsid.fromString(actual.SSID)); in assertCommonConfigurationElementsEqual()
710 assertEquals(expected.BSSID, actual.BSSID); in assertCommonConfigurationElementsEqual()
711 assertEquals(expected.preSharedKey, actual.preSharedKey); in assertCommonConfigurationElementsEqual()
712 assertEquals(expected.wepKeys, actual.wepKeys); in assertCommonConfigurationElementsEqual()
713 assertEquals(expected.wepTxKeyIndex, actual.wepTxKeyIndex); in assertCommonConfigurationElementsEqual()
714 assertEquals(expected.hiddenSSID, actual.hiddenSSID); in assertCommonConfigurationElementsEqual()
715 assertEquals(expected.requirePmf, actual.requirePmf); in assertCommonConfigurationElementsEqual()
716 assertEquals(expected.allowedKeyManagement, actual.allowedKeyManagement); in assertCommonConfigurationElementsEqual()
[all …]
DScanTestUtil.java356 String prefix, ScanResult expected, ScanResult actual) { in assertScanResultEquals() argument
357 assertEquals(prefix + "SSID", expected.SSID, actual.SSID); in assertScanResultEquals()
358 assertEquals(prefix + "wifiSsid", expected.wifiSsid.toString(), actual.wifiSsid.toString()); in assertScanResultEquals()
359 assertEquals(prefix + "BSSID", expected.BSSID, actual.BSSID); in assertScanResultEquals()
360 assertEquals(prefix + "capabilities", expected.capabilities, actual.capabilities); in assertScanResultEquals()
361 assertEquals(prefix + "level", expected.level, actual.level); in assertScanResultEquals()
362 assertEquals(prefix + "frequency", expected.frequency, actual.frequency); in assertScanResultEquals()
363 assertEquals(prefix + "timestamp", expected.timestamp, actual.timestamp); in assertScanResultEquals()
364 assertEquals(prefix + "seen", expected.seen, actual.seen); in assertScanResultEquals()
368 ScanResult[] actual) { in assertScanResultsEquals() argument
[all …]
DWifiMetricsTestUtil.java43 HistogramBucketInt32[] actual) { in assertHistogramBucketsEqual() argument
44 assertEquals("Number of buckets do not match!", expected.length, actual.length); in assertHistogramBucketsEqual()
48 HistogramBucketInt32 actualBucket = actual[i]; in assertHistogramBucketsEqual()
74 public static void assertKeyCountsEqual(Int32Count[] expected, Int32Count[] actual) { in assertKeyCountsEqual() argument
75 assertEquals("Number of key counts do not match!", expected.length, actual.length); in assertKeyCountsEqual()
79 Int32Count actualKeyCount = actual[i]; in assertKeyCountsEqual()
103 LinkProbeFailureReasonCount[] expected, LinkProbeFailureReasonCount[] actual) { in assertLinkProbeFailureReasonCountsEqual() argument
105 expected.length, actual.length); in assertLinkProbeFailureReasonCountsEqual()
108 Arrays.sort(actual, Comparator.comparingInt(x -> x.failureReason)); in assertLinkProbeFailureReasonCountsEqual()
112 LinkProbeFailureReasonCount actualFailureReasonCount = actual[i]; in assertLinkProbeFailureReasonCountsEqual()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiUsabilityStatsEntryTest.java165 WifiUsabilityStatsEntry actual) { in assertWifiUsabilityStatsEntryEquals() argument
166 assertEquals(expected.getTimeStampMillis(), actual.getTimeStampMillis()); in assertWifiUsabilityStatsEntryEquals()
167 assertEquals(expected.getRssi(), actual.getRssi()); in assertWifiUsabilityStatsEntryEquals()
168 assertEquals(expected.getLinkSpeedMbps(), actual.getLinkSpeedMbps()); in assertWifiUsabilityStatsEntryEquals()
169 assertEquals(expected.getTotalTxSuccess(), actual.getTotalTxSuccess()); in assertWifiUsabilityStatsEntryEquals()
170 assertEquals(expected.getTotalTxRetries(), actual.getTotalTxRetries()); in assertWifiUsabilityStatsEntryEquals()
171 assertEquals(expected.getTotalTxBad(), actual.getTotalTxBad()); in assertWifiUsabilityStatsEntryEquals()
172 assertEquals(expected.getTotalRxSuccess(), actual.getTotalRxSuccess()); in assertWifiUsabilityStatsEntryEquals()
174 actual.getTotalCcaBusyFreqTimeMillis()); in assertWifiUsabilityStatsEntryEquals()
176 actual.getTotalRadioOnFreqTimeMillis()); in assertWifiUsabilityStatsEntryEquals()
[all …]
/packages/services/Car/tools/telemetry/lua-interpreter/tests/
Dlua_engine_test.cc54 std::string actual = ConvertVectorToString(output); in TEST_F() local
55 EXPECT_NE(actual.find("LUA: Logging here"), std::string::npos); in TEST_F()
61 std::string actual = ConvertVectorToString(output); in TEST_F() local
62 EXPECT_NE(actual.find("on_success can push only a single parameter from " in TEST_F()
71 std::string actual = ConvertVectorToString(output); in TEST_F() local
72 EXPECT_NE(actual.find("on_success can push only a single parameter from " in TEST_F()
99 std::string actual = ConvertVectorToString(output); in TEST_F() local
100 EXPECT_NE(actual.find("on_script_finished can push only a single parameter " in TEST_F()
111 std::string actual = ConvertVectorToString(output); in TEST_F() local
112 EXPECT_NE(actual.find("on_script_finished can push only a single parameter " in TEST_F()
[all …]
/packages/services/Car/cpp/watchdog/server/tests/
DIoOveruseConfigsTest.cpp118 const auto actual = std::get<0>(arg); variable
120 return actual.first == expected.first &&
121 ExplainMatchResult(ResourceOveruseConfigurationMatcher(expected.second), actual.second,
296 std::vector<ResourceOveruseConfiguration> actual; in TEST_F() local
297 ioOveruseConfigs.get(&actual); in TEST_F()
299 EXPECT_THAT(actual, UnorderedElementsAreArray(ResourceOveruseConfigurationsMatchers(expected))) in TEST_F()
300 << "Expected: " << toString(expected) << "Actual:" << toString(actual); in TEST_F()
322 std::vector<ResourceOveruseConfiguration> actual; in TEST_F() local
323 ioOveruseConfigs.get(&actual); in TEST_F()
325 EXPECT_THAT(actual, UnorderedElementsAreArray(ResourceOveruseConfigurationsMatchers(expected))) in TEST_F()
[all …]
DUidProcStatsCollectorTestUtils.h29 const auto& actual = std::get<0>(arg); variable
31 return actual.first == expected.first && actual.second == expected.second;
35 const auto& actual = arg; variable
36 return ::testing::Value(actual.comm, ::testing::Eq(expected.comm)) &&
37 ::testing::Value(actual.startTimeMillis, ::testing::Eq(expected.startTimeMillis)) &&
38 ::testing::Value(actual.cpuTimeMillis, ::testing::Eq(expected.cpuTimeMillis)) &&
39 ::testing::Value(actual.totalCpuCycles, ::testing::Eq(expected.totalCpuCycles)) &&
40 ::testing::Value(actual.totalMajorFaults, ::testing::Eq(expected.totalMajorFaults)) &&
41 ::testing::Value(actual.totalTasksCount, ::testing::Eq(expected.totalTasksCount)) &&
42 ::testing::Value(actual.ioBlockedTasksCount,
[all …]
DOveruseConfigurationXmlHelperTest.cpp95 auto actual = OveruseConfigurationXmlHelper::parseXmlFile( in TEST() local
97 ASSERT_RESULT_OK(actual); in TEST()
98 EXPECT_THAT(*actual, ResourceOveruseConfigurationMatcher(expected)) in TEST()
99 << "Expected: " << expected.toString() << "\nActual: " << actual->toString(); in TEST()
133 auto actual = OveruseConfigurationXmlHelper::parseXmlFile( in TEST() local
135 ASSERT_RESULT_OK(actual); in TEST()
136 EXPECT_THAT(*actual, ResourceOveruseConfigurationMatcher(expected)) in TEST()
137 << "Expected: " << expected.toString() << "\nActual: " << actual->toString(); in TEST()
153 auto actual = OveruseConfigurationXmlHelper::parseXmlFile( in TEST() local
155 ASSERT_RESULT_OK(actual); in TEST()
[all …]
DUidStatsCollectorTest.cpp276 auto actual = mUidStatsCollector->latestStats(); in TEST_F() local
278 EXPECT_THAT(actual, UnorderedElementsAreArray(UidStatsMatchers(expected))) in TEST_F()
280 << "\nActual: " << toString(actual); in TEST_F()
282 actual = mUidStatsCollector->deltaStats(); in TEST_F()
284 EXPECT_THAT(actual, IsEmpty()) << "Delta UID stats isn't empty.\nActual: " << toString(actual); in TEST_F()
304 auto actual = mUidStatsCollector->deltaStats(); in TEST_F() local
306 EXPECT_THAT(actual, UnorderedElementsAreArray(UidStatsMatchers(expected))) in TEST_F()
308 << "\nActual: " << toString(actual); in TEST_F()
310 actual = mUidStatsCollector->latestStats(); in TEST_F()
312 EXPECT_THAT(actual, IsEmpty()) << "Latest UID stats isn't empty.\nActual: " << toString(actual); in TEST_F()
[all …]
DUidProcStatsCollectorTest.cpp42 const auto& actual = std::get<0>(arg); variable
44 return actual.first == expected.first &&
45 ExplainMatchResult(UidProcStatsEq(expected.second), actual.second, result_listener);
144 auto actual = collector.deltaStats(); in TEST() local
146 EXPECT_THAT(actual, UnorderedPointwise(UidProcStatsByUidEq(), expected)) in TEST()
149 << toString(actual); in TEST()
218 actual = collector.deltaStats(); in TEST()
219 EXPECT_THAT(actual, UnorderedPointwise(UidProcStatsByUidEq(), expected)) in TEST()
222 << toString(actual); in TEST()
313 auto actual = collector.deltaStats(); in TEST() local
[all …]
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DProvisionedKeyTest.java87 final ProvisionedKey actual = randomKey(); in testEquality() local
90 assertThat(actual).isNotEqualTo(expected); in testEquality()
91 assertThat(actual.hashCode()).isNotEqualTo(expected.hashCode()); in testEquality()
92 f.set(actual, clone(f.get(expected))); in testEquality()
94 assertThat(actual).isEqualTo(expected); in testEquality()
95 assertThat(actual.hashCode()).isEqualTo(expected.hashCode()); in testEquality()
102 ProvisionedKey actual = clone(expected); in testEqualityWithNullFields() local
103 assertThat(actual).isEqualTo(expected); in testEqualityWithNullFields()
104 assertThat(actual.hashCode()).isEqualTo(expected.hashCode()); in testEqualityWithNullFields()
106 f.set(actual, null); in testEqualityWithNullFields()
[all …]
/packages/apps/TV/tests/unit/src/com/android/tv/util/images/
DScaledBitmapInfoTest.java36 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testSize_B100x100to50x50() local
37 assertScaledBitmapSize(2, 40, 50, actual); in testSize_B100x100to50x50()
42 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testNeedsToReload_B100x100to50x50() local
43 assertNeedsToReload(false, actual, 25, 25); in testNeedsToReload_B100x100to50x50()
44 assertNeedsToReload(false, actual, 50, 50); in testNeedsToReload_B100x100to50x50()
45 assertNeedsToReload(false, actual, 99, 99); in testNeedsToReload_B100x100to50x50()
46 assertNeedsToReload(true, actual, 100, 100); in testNeedsToReload_B100x100to50x50()
47 assertNeedsToReload(true, actual, 101, 101); in testNeedsToReload_B100x100to50x50()
53 ScaledBitmapInfo actual = in testBug20488453() local
55 assertScaledBitmapSize(8, 107, 160, actual); in testBug20488453()
[all …]
/packages/modules/NeuralNetworks/runtime/test/
DTestTrivialModel.cpp103 int CompareMatrices(const Matrix3x4& expected, const Matrix3x4& actual) { in CompareMatrices() argument
107 if (expected[i][j] != actual[i][j]) { in CompareMatrices()
109 static_cast<double>(expected[i][j]), static_cast<double>(actual[i][j])); in CompareMatrices()
122 Matrix3x4 actual; in TEST_F() local
123 memset(&actual, 0, sizeof(actual)); in TEST_F()
129 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
131 ASSERT_EQ(CompareMatrices(expected2, actual), 0); in TEST_F()
164 Matrix3x4 actual; in testAddTwoWithHardwareBufferInput() local
165 memset(&actual, 0, sizeof(actual)); in testAddTwoWithHardwareBufferInput()
172 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in testAddTwoWithHardwareBufferInput()
[all …]
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DChronicleApiPolicyFieldBuilderTest.kt57 val actual = PolicyFieldBuilder(null, listOf("foo")) in <lambda>() constant
60 assertThat(actual.fieldPath).containsExactly("foo").inOrder() in <lambda>()
61 assertThat(actual.rawUsages).containsExactly(UsageType.JOIN, UsageType.EGRESS) in <lambda>()
79 setOf(stringApi, enumApi).forEach { actual -> in <lambda>() method
80 assertThat(actual.annotations).isEmpty() in <lambda>()
81 assertThat(actual.fieldPath).containsExactly("foo").inOrder() in <lambda>()
82 assertThat(actual.rawUsages).isEmpty() in <lambda>()
83 assertThat(actual.redactedUsages) in <lambda>()
90 assertThat(actual.subfields).isEmpty() in <lambda>()
96 val actual = PolicyFieldBuilder(NESTED_PERSON_GENERATED_DTD, listOf("person")) in <lambda>() constant
[all …]
DChronicleApiPolicyAnnotationTest.kt32 val actual = annotation("ttl") in testAnnotationEmptyBlock() constant
34 assertThat(actual.name).isEqualTo("ttl") in testAnnotationEmptyBlock()
35 assertThat(actual.params).isEmpty() in testAnnotationEmptyBlock()
40 val actual = annotation("ttl") { in testAnnotationNonEmptyBlock() constant
46 assertThat(actual.name).isEqualTo("ttl") in testAnnotationNonEmptyBlock()
47 assertThat(actual.params).hasSize(3) in testAnnotationNonEmptyBlock()
48 assertThat(actual.getParam("intParam")).isEqualTo(AnnotationParam.Num(42)) in testAnnotationNonEmptyBlock()
49 assertThat(actual.getStringParam("stringParam")).isEqualTo("My String Value") in testAnnotationNonEmptyBlock()
50 assertThat(actual.getOptionalStringParam("Param not Found!")).isEqualTo(null) in testAnnotationNonEmptyBlock()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DChannelNumberSubject.java37 public static ChannelNumberSubject assertThat(@Nullable ChannelNumber actual) { in assertThat() argument
38 return Truth.assertAbout(channelNumbers()).that(actual); in assertThat()
41 private final ChannelNumber actual; field in ChannelNumberSubject
45 this.actual = subject; in ChannelNumberSubject()
49 if (!actual.majorNumber.equals(Integer.toString(major)) || actual.hasDelimiter) { in displaysAs()
55 if (!actual.majorNumber.equals(Integer.toString(major)) in displaysAs()
56 || !actual.minorNumber.equals(Integer.toString(minor)) in displaysAs()
57 || !actual.hasDelimiter) { in displaysAs()
63 if (!actual.majorNumber.isEmpty() || !actual.minorNumber.isEmpty() || actual.hasDelimiter) { in isEmpty()
/packages/apps/Messaging/src/com/android/messaging/util/
DAssert.java106 public static void equals(final int expected, final int actual) { in equals() argument
107 if (expected != actual) { in equals()
108 fail("Expected " + expected + " but got " + actual, false); in equals()
112 public static void equals(final long expected, final long actual) { in equals() argument
113 if (expected != actual) { in equals()
114 fail("Expected " + expected + " but got " + actual, false); in equals()
118 public static void equals(final Object expected, final Object actual) { in equals() argument
119 if (expected != actual in equals()
120 && (expected == null || actual == null || !expected.equals(actual))) { in equals()
121 fail("Expected " + expected + " but got " + actual, false); in equals()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DIoUsageStatsEntrySubject.java75 public static boolean isEquals(WatchdogStorage.IoUsageStatsEntry actual, in isEquals() argument
77 if (actual == null || expected == null) { in isEquals()
78 return (actual == null) && (expected == null); in isEquals()
80 return actual.userId == expected.userId && actual.packageName.equals(expected.packageName) in isEquals()
81 && actual.ioUsage.getTotalTimesKilled() == expected.ioUsage.getTotalTimesKilled() in isEquals()
82 && actual.ioUsage.getForgivenOveruses() == expected.ioUsage.getForgivenOveruses() in isEquals()
83 && InternalPerStateBytesSubject.isEquals(actual.ioUsage.getForgivenWriteBytes(), in isEquals()
85 && isEqualsIoOveruseStats(actual.ioUsage.getInternalIoOveruseStats(), in isEquals()
89 private static boolean isEqualsIoOveruseStats(android.automotive.watchdog.IoOveruseStats actual, in isEqualsIoOveruseStats() argument
91 if (actual == null || expected == null) { in isEqualsIoOveruseStats()
[all …]
DIoOveruseConfigurationSubject.java48 protected boolean doEquivalent(PerStateBytes actual, PerStateBytes expected) {
49 return isPerStateBytesEquals(actual, expected);
84 public static boolean isEquals(IoOveruseConfiguration actual, in isEquals() argument
86 if (actual == null || expected == null) { in isEquals()
87 return (actual == null) && (expected == null); in isEquals()
90 return isPerStateBytesEquals(actual.getComponentLevelThresholds(), in isEquals()
92 && Maps.difference(actual.getPackageSpecificThresholds(), in isEquals()
94 && Maps.difference(actual.getAppCategorySpecificThresholds(), in isEquals()
96 && isAlertThresholdEquals(actual.getSystemWideThresholds(), in isEquals()
106 private static boolean isPerStateBytesEquals(PerStateBytes actual, PerStateBytes expected) { in isPerStateBytesEquals() argument
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/iso7816/
DTlvParserTest.java44 TlvDatum actual = TlvParser.parseTlvs(responseApdu).get(new Tag((byte) 0x6F)).get(0); in testParseComplicatedTlv() local
50 assertThat(actual.toBytes()).isEqualTo(expected.toBytes()); in testParseComplicatedTlv()
51 assertTlvDatumEquals(expected, actual); in testParseComplicatedTlv()
70 List<TlvDatum> actual = Arrays.asList( in testParseSelectResponse() local
76 assertTlvDatumListEquals(expected, actual); in testParseSelectResponse()
92 List<TlvDatum> actual = result.get(new Tag((byte) 0x5f, (byte) 0x5f)); in noDataTag_success() local
93 assertThat(actual).isNotNull(); in noDataTag_success()
95 actual, ImmutableList.of( in noDataTag_success()
99 private static void assertTlvDatumListEquals(List<TlvDatum> expected, List<TlvDatum> actual) { in assertTlvDatumListEquals() argument
100 assertThat(actual).hasSize(expected.size()); in assertTlvDatumListEquals()
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilderTest.java28 private void verifyBuiltCursor(final Cursor expected, final Cursor actual) { in verifyBuiltCursor() argument
31 assertEquals(rowCount, actual.getCount()); in verifyBuiltCursor()
32 assertEquals(columnCount, actual.getColumnCount()); in verifyBuiltCursor()
35 actual.moveToPosition(i); in verifyBuiltCursor()
37 actual.getLong(ContactUtil.INDEX_DATA_ID)); in verifyBuiltCursor()
39 actual.getLong(ContactUtil.INDEX_CONTACT_ID)); in verifyBuiltCursor()
41 actual.getString(ContactUtil.INDEX_LOOKUP_KEY)); in verifyBuiltCursor()
43 actual.getString(ContactUtil.INDEX_DISPLAY_NAME)); in verifyBuiltCursor()
45 actual.getString(ContactUtil.INDEX_PHOTO_URI)); in verifyBuiltCursor()
47 actual.getString(ContactUtil.INDEX_PHONE_EMAIL)); in verifyBuiltCursor()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
DNotificationHelperTest.java315 Notification actual = actualNotifications.get(i); in captureAndVerifyUserNotifications() local
317 isNotificationEqualTo(actual, expectedNotificationsById.get(notificationId), in captureAndVerifyUserNotifications()
322 private void isNotificationEqualTo(Notification actual, Notification expected, in isNotificationEqualTo() argument
324 assertWithMessage("Notification for id %s", notificationId).that(actual).isNotNull(); in isNotificationEqualTo()
326 .that(actual.actions.length).isEqualTo(expected.actions.length); in isNotificationEqualTo()
328 .that(actual.getChannelId()).isEqualTo(expected.getChannelId()); in isNotificationEqualTo()
329 for (int i = 0; i < actual.actions.length; i++) { in isNotificationEqualTo()
330 isNotificationActionEqualTo(actual.actions[i], expected.actions[i], notificationId); in isNotificationEqualTo()
333 .that(actual.getSmallIcon().getResId()) in isNotificationEqualTo()
335 isIntentEqualTo(getIntent(actual.deleteIntent), getIntent(expected.deleteIntent), in isNotificationEqualTo()
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include_legacy/
DTestHarness.h291 [&totalNumberOfErrors, fpAtol, fpRtol](float expected, float actual) {
295 EXPECT_NEAR(expected, actual, fpRange);
297 if (std::abs(expected - actual) > fpRange) {
302 [&totalNumberOfErrors](int32_t expected, int32_t actual) {
304 EXPECT_EQ(expected, actual);
306 if (expected != actual) {
311 [&totalNumberOfErrors, quant8AllowedError](uint8_t expected, uint8_t actual) {
313 EXPECT_NEAR(expected, actual, quant8AllowedError);
315 if (std::abs(expected - actual) > quant8AllowedError) {
320 [&totalNumberOfErrors](int16_t expected, int16_t actual) {
[all …]

12345678910>>...14