Home
last modified time | relevance | path

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

12345678910>>...100

/third_party/cJSON/tests/unity/src/
Dunity.h128 …RT_EQUAL_INT(expected, actual) UNITY_TEST_ASSER… argument
129 …T_EQUAL_INT8(expected, actual) UNITY_TEST_ASSERT… argument
130 …_EQUAL_INT16(expected, actual) UNITY_TEST_ASSERT_… argument
131 …_EQUAL_INT32(expected, actual) UNITY_TEST_ASSERT_… argument
132 …_EQUAL_INT64(expected, actual) UNITY_TEST_ASSERT_… argument
133 …SERT_EQUAL(expected, actual) UNITY_TEST_ASS… argument
134 …SSERT_NOT_EQUAL(expected, actual) UNITY_TEST_AS… argument
135 …T_EQUAL_UINT(expected, actual) UNITY_TEST_ASSERT… argument
136 …_EQUAL_UINT8(expected, actual) UNITY_TEST_ASSERT_… argument
137 …EQUAL_UINT16(expected, actual) UNITY_TEST_ASSERT_E… argument
[all …]
Dunity_internals.h460 const UNITY_INT actual,
466 const UNITY_INT actual,
473 UNITY_INTERNAL_PTR actual,
482 const UNITY_INT actual,
487 const char* actual,
492 const char* actual,
498 const char** actual,
505 UNITY_INTERNAL_PTR actual,
514 const UNITY_INT actual,
526 const UNITY_FLOAT actual,
[all …]
Dunity.c422 static void UnityPrintExpectedAndActualStrings(const char* expected, const char* actual) in UnityPrintExpectedAndActualStrings() argument
436 if (actual != NULL) in UnityPrintExpectedAndActualStrings()
439 UnityPrint(actual); in UnityPrintExpectedAndActualStrings()
450 const char* actual, in UnityPrintExpectedAndActualStringsLen() argument
465 if (actual != NULL) in UnityPrintExpectedAndActualStringsLen()
468 UnityPrintLen(actual, length); in UnityPrintExpectedAndActualStringsLen()
482 UNITY_INTERNAL_PTR actual, in UnityIsOneArrayNull() argument
486 if (expected == actual) return 0; /* Both are NULL or same pointer */ in UnityIsOneArrayNull()
498 if (actual == NULL) in UnityIsOneArrayNull()
515 const UNITY_INT actual, in UnityAssertBits() argument
[all …]
/third_party/unity/src/
Dunity.h135 …RT_EQUAL_INT(expected, actual) UNITY_TEST_ASSER… argument
136 …T_EQUAL_INT8(expected, actual) UNITY_TEST_ASSERT… argument
137 …_EQUAL_INT16(expected, actual) UNITY_TEST_ASSERT_… argument
138 …_EQUAL_INT32(expected, actual) UNITY_TEST_ASSERT_… argument
139 …_EQUAL_INT64(expected, actual) UNITY_TEST_ASSERT_… argument
140 …T_EQUAL_UINT(expected, actual) UNITY_TEST_ASSERT… argument
141 …_EQUAL_UINT8(expected, actual) UNITY_TEST_ASSERT_… argument
142 …EQUAL_UINT16(expected, actual) UNITY_TEST_ASSERT_E… argument
143 …EQUAL_UINT32(expected, actual) UNITY_TEST_ASSERT_E… argument
144 …EQUAL_UINT64(expected, actual) UNITY_TEST_ASSERT_E… argument
[all …]
Dunity_internals.h552 const UNITY_INT actual,
558 const UNITY_INT actual,
565 UNITY_INTERNAL_PTR actual,
574 const UNITY_INT actual,
579 const char* actual,
584 const char* actual,
590 const char** actual,
597 UNITY_INTERNAL_PTR actual,
606 const UNITY_INT actual,
613 UNITY_INTERNAL_PTR actual,
[all …]
Dunity.c592 static void UnityPrintExpectedAndActualStrings(const char* expected, const char* actual) in UnityPrintExpectedAndActualStrings() argument
606 if (actual != NULL) in UnityPrintExpectedAndActualStrings()
609 UnityPrint(actual); in UnityPrintExpectedAndActualStrings()
620 const char* actual, in UnityPrintExpectedAndActualStringsLen() argument
635 if (actual != NULL) in UnityPrintExpectedAndActualStringsLen()
638 UnityPrintLen(actual, length); in UnityPrintExpectedAndActualStringsLen()
653 UNITY_INTERNAL_PTR actual, in UnityIsOneArrayNull() argument
658 if (expected == actual) { return 0; } in UnityIsOneArrayNull()
670 if (actual == NULL) in UnityIsOneArrayNull()
688 const UNITY_INT actual, in UnityAssertBits() argument
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/tests/rules/indent/
Dindent.test.ts657 actual: 0,
813 actual: 0,
822 actual: 0,
863 actual: 0,
872 actual: 0,
881 actual: 0,
890 actual: 0,
899 actual: 0,
908 actual: 0,
917 actual: 0,
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/conversion/eot/
DGlyfEncoderTest.java29 private void assertEqualsByteArray(byte[] expected, byte[] actual) { in assertEqualsByteArray() argument
30 assertEquals(expected.length, actual.length); in assertEqualsByteArray()
32 assertEquals(expected[i], actual[i]); in assertEqualsByteArray()
39 byte[] actual = os.toByteArray(); in test255UShort1()
41 assertEqualsByteArray(expected, actual); in test255UShort1()
47 byte[] actual = os.toByteArray(); in test255UShort2()
49 assertEqualsByteArray(expected, actual); in test255UShort2()
55 byte[] actual = os.toByteArray(); in test255UShort3()
57 assertEqualsByteArray(expected, actual); in test255UShort3()
63 byte[] actual = os.toByteArray(); in test255UShort4()
[all …]
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/conversion/eot/
DGlyfEncoderTest.java29 private void assertEqualsByteArray(byte[] expected, byte[] actual) { in assertEqualsByteArray() argument
30 assertEquals(expected.length, actual.length); in assertEqualsByteArray()
32 assertEquals(expected[i], actual[i]); in assertEqualsByteArray()
39 byte[] actual = os.toByteArray(); in test255UShort1()
41 assertEqualsByteArray(expected, actual); in test255UShort1()
47 byte[] actual = os.toByteArray(); in test255UShort2()
49 assertEqualsByteArray(expected, actual); in test255UShort2()
55 byte[] actual = os.toByteArray(); in test255UShort3()
57 assertEqualsByteArray(expected, actual); in test255UShort3()
63 byte[] actual = os.toByteArray(); in test255UShort4()
[all …]
/third_party/node/lib/
Dassert.js129 function fail(actual, expected, message, operator, stackStartFn) { argument
133 if (actual == null && argsLen <= 1) {
137 message = actual;
138 actual = undefined;
156 actual, property
387 actual: value, property
417 assert.equal = function equal(actual, expected, message) { argument
422 if (actual != expected && (!NumberIsNaN(actual) || !NumberIsNaN(expected))) {
424 actual, property
441 assert.notEqual = function notEqual(actual, expected, message) { argument
[all …]
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/
DByteArrayTest.kt148 fun <T> assertArrayEquals(expected: Array<out T>, actual: Array<out T>) = in assertArrayEquals()
149 assertTrue(expected contentEquals actual, arrayFailMessage(expected, actual)) in assertArrayEquals()
151 fun assertArrayEquals(expected: IntArray, actual: IntArray) = in assertArrayEquals()
152 assertTrue(expected contentEquals actual, arrayFailMessage(expected, actual)) in assertArrayEquals()
154 fun assertArrayEquals(expected: ShortArray, actual: ShortArray) = in assertArrayEquals()
155 assertTrue(expected contentEquals actual, arrayFailMessage(expected, actual)) in assertArrayEquals()
157 fun assertArrayEquals(expected: LongArray, actual: LongArray) = in assertArrayEquals()
158 assertTrue(expected contentEquals actual, arrayFailMessage(expected, actual)) in assertArrayEquals()
160 fun assertArrayEquals(expected: ByteArray, actual: ByteArray) = in assertArrayEquals()
161 assertTrue(expected contentEquals actual, arrayFailMessage(expected, actual)) in assertArrayEquals()
[all …]
/third_party/python/Lib/test/
Dtest_dictcomps.py12 actual = {k: k + 10 for k in range(10)}
13 self.assertEqual(actual, expected)
16 actual = {k: v for k in range(10) for v in range(10) if k == v}
17 self.assertEqual(actual, expected)
24 actual = {k: None for k in range(10)}
25 self.assertEqual(actual, expected)
34 actual = {k: v for v in range(10) for k in range(v * 9, v * 10)}
36 self.assertEqual(actual, expected)
41 actual = {g: None for g in range(10)}
42 self.assertEqual(actual, expected)
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dcompactdecimalformattest.cpp373 UnicodeString actual; in TestDefaultSignificantDigits() local
374 assertEquals("Default significant digits", u"123K", cdf->format(123456, actual.remove())); in TestDefaultSignificantDigits()
375 assertEquals("Default significant digits", u"12K", cdf->format(12345, actual.remove())); in TestDefaultSignificantDigits()
376 assertEquals("Default significant digits", u"1.2K", cdf->format(1234, actual.remove())); in TestDefaultSignificantDigits()
377 assertEquals("Default significant digits", u"123", cdf->format(123, actual.remove())); in TestDefaultSignificantDigits()
387 UnicodeString actual; in TestAPIVariants() local
393 actual.remove(); in TestAPIVariants()
396 cdf->format((double)123456.0, actual, pos); in TestAPIVariants()
397 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants()
399 … "Got: \"" + actual + "\", pos " + pos.getEndIndex()); in TestAPIVariants()
[all …]
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/nativeMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt23 public actual inline fun ByteArray.getUByte(index: Int): UByte = getUByteAt(index)
24 public actual inline fun ByteArray.getShort(index: Int): Short = getShortAt(index)
25 public actual inline fun ByteArray.getUShort(index: Int): UShort = getUShortAt(index)
26 public actual inline fun ByteArray.getInt(index: Int): Int = getIntAt(index)
27 public actual inline fun ByteArray.getUInt(index: Int): UInt = getUIntAt(index)
28 public actual inline fun ByteArray.getLong(index: Int): Long = getLongAt(index)
29 public actual inline fun ByteArray.getULong(index: Int): ULong = getULongAt(index)
31 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = setUByteAt(index, val…
32 public actual inline fun ByteArray.setShort(index: Int, value: Short): Unit = setShortAt(index, val…
33 public actual inline fun ByteArray.setUShort(index: Int, value: UShort): Unit = setUShortAt(index, …
[all …]
/third_party/cJSON/tests/unity/docs/
DUnityAssertionsReference.md70 TEST_ASSERT_X( {modifiers}, {expected}, actual, {size/count} )
72 The very simplest assertion possible uses only a single "actual" parameter (e.g.
78 "Expected" is your expected value (duh) to compare to an "actual" value; it's
80 "actual" parameter (e.g. null check).
86 the expected and actual values of that assertion formatted as hexadecimal.
101 TEST_ASSERT_X( {modifiers}, {expected}, actual, {size/count} )
105 TEST_ASSERT_X_MESSAGE( {modifiers}, {expected}, actual, {size/count}, message )
116 TEST_ASSERT_EQUAL_TYPEX_ARRAY( expected, actual, {size/count} )
138 TEST_ASSERT_EACH_EQUAL_TYPEX( expected, actual, {size/count} )
221 ##### `TEST_ASSERT_EQUAL_INT (expected, actual)`
[all …]
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/jsMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt23 public actual inline fun ByteArray.getUByte(index: Int): UByte = ByteArrayOps.getUByte(this, index)
24 public actual inline fun ByteArray.getShort(index: Int): Short = ByteArrayOps.getShort(this, index)
25 public actual inline fun ByteArray.getUShort(index: Int): UShort = ByteArrayOps.getUShort(this, ind…
26 public actual inline fun ByteArray.getInt(index: Int): Int = ByteArrayOps.getInt(this, index)
27 public actual inline fun ByteArray.getUInt(index: Int): UInt = ByteArrayOps.getUInt(this, index)
28 public actual inline fun ByteArray.getLong(index: Int): Long = ByteArrayOps.getLong(this, index)
29 public actual inline fun ByteArray.getULong(index: Int): ULong = ByteArrayOps.getULong(this, index)
30 public actual inline fun ByteArray.getFloat(index: Int): Float = ByteArrayOps.getFloat(this, index)
31 public actual inline fun ByteArray.getDouble(index: Int): Double = ByteArrayOps.getDouble(this, ind…
33 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = ByteArrayOps.setUByte…
[all …]
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt24 public actual inline fun ByteArray.getUByte(index: Int): UByte = ByteArrayOps.getUByte(this, index)
25 public actual inline fun ByteArray.getShort(index: Int): Short = ByteArrayOps.getShort(this, index)
26 public actual inline fun ByteArray.getUShort(index: Int): UShort = ByteArrayOps.getUShort(this, ind…
27 public actual inline fun ByteArray.getInt(index: Int): Int = ByteArrayOps.getInt(this, index)
28 public actual inline fun ByteArray.getUInt(index: Int): UInt = ByteArrayOps.getUInt(this, index)
29 public actual inline fun ByteArray.getLong(index: Int): Long = ByteArrayOps.getLong(this, index)
30 public actual inline fun ByteArray.getULong(index: Int): ULong = ByteArrayOps.getULong(this, index)
31 public actual inline fun ByteArray.getFloat(index: Int): Float = ByteArrayOps.getFloat(this, index)
32 public actual inline fun ByteArray.getDouble(index: Int): Double = ByteArrayOps.getDouble(this, ind…
34 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = ByteArrayOps.setUByte…
[all …]
/third_party/unity/docs/
DUnityAssertionsReference.md71 TEST_ASSERT_X( {modifiers}, {expected}, actual, {size/count} )
74 The very simplest assertion possible uses only a single `actual` parameter (e.g.
80 - `Expected` is your expected value (duh) to compare to an `actual` value; it's
82 `actual` parameter (e.g. null check).
88 the expected and actual values of that assertion formatted as hexadecimal.
104 TEST_ASSERT_X( {modifiers}, {expected}, actual, {size/count} )
110 TEST_ASSERT_X_MESSAGE( {modifiers}, {expected}, actual, {size/count}, message )
132 TEST_ASSERT_EQUAL_TYPEX_ARRAY( expected, actual, {size/count} )
157 TEST_ASSERT_EACH_EQUAL_TYPEX( expected, actual, {size/count} )
271 ##### `TEST_ASSERT_EQUAL_INT (expected, actual)`
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatDataDrivenTest.java45 private static String compareParseResult(String expected, Number actual, ParsePosition ppos) { in compareParseResult() argument
46 if (actual == null && ppos.getIndex() != 0) { in compareParseResult()
50 return "Parse failed; got " + actual + ", but expected " + expected; in compareParseResult()
53 if (!Double.isNaN(actual.doubleValue())) { in compareParseResult()
54 return "Expected NaN, but got: " + actual; in compareParseResult()
58 if (!Double.isInfinite(actual.doubleValue()) in compareParseResult()
59 || Double.compare(actual.doubleValue(), 0.0) < 0) { in compareParseResult()
60 return "Expected Inf, but got: " + actual; in compareParseResult()
64 if (!Double.isInfinite(actual.doubleValue()) in compareParseResult()
65 || Double.compare(actual.doubleValue(), 0.0) > 0) { in compareParseResult()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatDataDrivenTest.java48 private static String compareParseResult(String expected, Number actual, ParsePosition ppos) { in compareParseResult() argument
49 if (actual == null && ppos.getIndex() != 0) { in compareParseResult()
53 return "Parse failed; got " + actual + ", but expected " + expected; in compareParseResult()
56 if (!Double.isNaN(actual.doubleValue())) { in compareParseResult()
57 return "Expected NaN, but got: " + actual; in compareParseResult()
61 if (!Double.isInfinite(actual.doubleValue()) in compareParseResult()
62 || Double.compare(actual.doubleValue(), 0.0) < 0) { in compareParseResult()
63 return "Expected Inf, but got: " + actual; in compareParseResult()
67 if (!Double.isInfinite(actual.doubleValue()) in compareParseResult()
68 || Double.compare(actual.doubleValue(), 0.0) > 0) { in compareParseResult()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/algorithm/
Dcontainer_test.cc611 std::vector<int> actual = {1, 2, 3, 4, 5}; in TEST() local
612 absl::c_partition(actual, IsOdd); in TEST()
613 EXPECT_THAT(actual, Truly([](const std::vector<int>& c) { in TEST()
619 std::vector<int> actual = {1, 2, 3, 4, 5}; in TEST() local
620 absl::c_stable_partition(actual, IsOdd); in TEST()
621 EXPECT_THAT(actual, ElementsAre(1, 3, 5, 2, 4)); in TEST()
682 std::vector<int> actual; in TEST() local
683 absl::c_copy_n(initial, 2, back_inserter(actual)); in TEST()
684 EXPECT_EQ(expected, actual); in TEST()
696 std::vector<int> actual = {1, 2, 3, 4, 5}; in TEST() local
[all …]
/third_party/abseil-cpp/absl/algorithm/
Dcontainer_test.cc611 std::vector<int> actual = {1, 2, 3, 4, 5}; in TEST() local
612 absl::c_partition(actual, IsOdd); in TEST()
613 EXPECT_THAT(actual, Truly([](const std::vector<int>& c) { in TEST()
619 std::vector<int> actual = {1, 2, 3, 4, 5}; in TEST() local
620 absl::c_stable_partition(actual, IsOdd); in TEST()
621 EXPECT_THAT(actual, ElementsAre(1, 3, 5, 2, 4)); in TEST()
682 std::vector<int> actual; in TEST() local
683 absl::c_copy_n(initial, 2, back_inserter(actual)); in TEST()
684 EXPECT_EQ(expected, actual); in TEST()
696 std::vector<int> actual = {1, 2, 3, 4, 5}; in TEST() local
[all …]
/third_party/node/lib/internal/assert/
Dassertion_error.js82 function createErrDiff(actual, expected, operator) { argument
87 const actualInspected = inspectValue(actual);
97 ((typeof actual === 'object' && actual !== null &&
99 (typeof actual === 'function' && typeof expected === 'function'))) {
117 if ((typeof actual !== 'object' || actual === null) &&
119 (actual !== 0 || expected !== 0)) { // -0 === +0
341 actual,
369 if (typeof actual === 'object' && actual !== null &&
371 'stack' in actual && actual instanceof Error &&
373 actual = copyError(actual);
[all …]
/third_party/parse5/packages/parse5-sax-parser/test/
Dsax-parser.test.js25 let actual = '';
29 actual += '<!DOCTYPE ' + name;
32 actual += ' PUBLIC "' + publicId + '"';
34 actual += ' SYSTEM';
38 actual += ' "' + systemId + '"';
41 actual += '>';
45 actual += '<' + tagName;
49 actual += ' ' + attrs[i].name + '="' + attrs[i].value + '"';
53 actual += selfClosing ? '/>' : '>';
57 actual += '</' + tagName + '>';
[all …]
/third_party/flatbuffers/tests/FlatBuffers.Test/
DAssert.cs30 public AssertFailedException(object expected, object actual) in AssertFailedException() argument
33 _actual = actual; in AssertFailedException()
48 public AssertArrayFailedException(int index, object expected, object actual) in AssertArrayFailedException() argument
52 _actual = actual; in AssertArrayFailedException()
78 public static void AreEqual<T>(T expected, T actual) in AreEqual() argument
80 if (!expected.Equals(actual)) in AreEqual()
82 throw new AssertFailedException(expected, actual); in AreEqual()
86 public static void ArrayEqual<T>(T[] expected, T[] actual) in ArrayEqual() argument
88 if (expected.Length != actual.Length) in ArrayEqual()
90 throw new AssertFailedException(expected, actual); in ArrayEqual()
[all …]

12345678910>>...100