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
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Unity Test ![CI][]
2
2
3
-
__Copyright (c) 2007 - 2021 Unity Project by Mike Karlesky, Mark VanderVoord, and Greg Williams__
3
+
__Copyright (c) 2007 - 2023 Unity Project by Mike Karlesky, Mark VanderVoord, and Greg Williams__
4
4
5
5
Welcome to the Unity Test Project, one of the main projects of ThrowTheSwitch.org.
6
6
Unity Test is a unit testing framework built for C, with a focus on working with embedded toolchains.
@@ -12,6 +12,8 @@ If you'd like to leave the hard work to us, you might be interested in Ceedling,
12
12
13
13
If you're new to Unity, we encourage you to tour the [getting started guide][].
14
14
15
+
You can also find the [change log][] and [known issues][] in our documentation.
16
+
15
17
## Getting Started
16
18
17
19
The [docs][] folder contains a [getting started guide][] and much more tips about using Unity.
@@ -54,7 +56,7 @@ The message is output stating why.
54
56
55
57
Compare two integers for equality and display errors as signed integers.
56
58
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:
59
+
When you need to specify the exact size, you can use a specific version.
58
60
59
61
TEST_ASSERT_EQUAL_UINT(expected, actual)
60
62
TEST_ASSERT_EQUAL_UINT8(expected, actual)
@@ -72,7 +74,8 @@ Like INT, there are variants for different sizes also.
72
74
TEST_ASSERT_EQUAL_HEX64(expected, actual)
73
75
74
76
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).
77
+
Like the other integer comparisons, you can specify the size...
78
+
here the size will also effect how many nibbles are shown (for example, `HEX16` will show 4 nibbles).
76
79
77
80
TEST_ASSERT_EQUAL(expected, actual)
78
81
@@ -214,7 +217,8 @@ Fails if the pointer is equal to NULL
214
217
TEST_ASSERT_EQUAL_MEMORY(expected, actual, len)
215
218
216
219
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.
220
+
This is a good generic assertion for types that can't be coerced into acting like standard types...
221
+
but since it's a memory compare, you have to be careful that your data types are packed.
218
222
219
223
### \_MESSAGE
220
224
@@ -224,5 +228,7 @@ This is useful for specifying more information about the problem.
0 commit comments