You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ The message is output stating why.
54
54
55
55
Compare two integers for equality and display errors as signed integers.
56
56
A cast will be performed to your natural integer size so often this can just be used.
57
-
When you need to specify the exact size, like when comparing arrays, you can use a specific version:
57
+
When you need to specify the exact size, you can use a specific version.
58
58
59
59
TEST_ASSERT_EQUAL_UINT(expected, actual)
60
60
TEST_ASSERT_EQUAL_UINT8(expected, actual)
@@ -72,7 +72,8 @@ Like INT, there are variants for different sizes also.
72
72
TEST_ASSERT_EQUAL_HEX64(expected, actual)
73
73
74
74
Compares two integers for equality and display errors as hexadecimal.
75
-
Like the other integer comparisons, you can specify the size... here the size will also effect how many nibbles are shown (for example, `HEX16` will show 4 nibbles).
75
+
Like the other integer comparisons, you can specify the size...
76
+
here the size will also effect how many nibbles are shown (for example, `HEX16` will show 4 nibbles).
76
77
77
78
TEST_ASSERT_EQUAL(expected, actual)
78
79
@@ -214,7 +215,8 @@ Fails if the pointer is equal to NULL
214
215
TEST_ASSERT_EQUAL_MEMORY(expected, actual, len)
215
216
216
217
Compare two blocks of memory.
217
-
This is a good generic assertion for types that can't be coerced into acting like standard types... but since it's a memory compare, you have to be careful that your data types are packed.
218
+
This is a good generic assertion for types that can't be coerced into acting like standard types...
219
+
but since it's a memory compare, you have to be careful that your data types are packed.
0 commit comments