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: REFERENCE.md
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,8 @@ platforms:
90
90
91
91
### Control How Examples Are Compiled
92
92
93
-
The `compile:` section controls the platforms on which the compilation will be attempted, as well as any external libraries that must be installed and included.
93
+
Put a file `.arduino-ci.yml` in each example directory where you require a different configuration than default.
94
+
The `compile:` section controls the platforms on which the compilation will be attempted, as well as any external libraries that must be installed and included.
94
95
95
96
```yaml
96
97
compile:
@@ -173,15 +174,15 @@ This test defines one `unittest` (a macro provided by `ArduinoUnitTests.h`), cal
173
174
174
175
The following assertion functions are available in unit tests.
175
176
176
-
* `assertEqual(arg1,arg2)`
177
-
* `assertNotEqual(arg1,arg2)`
178
-
* `assertLess(arg1,arg2)`
179
-
* `assertMore(arg1,arg2)`
180
-
* `assertLessOrEqual(arg1,arg2)`
181
-
* `assertMoreOrEqual(arg1,arg2)`
182
-
* `assertTrue(arg)`
183
-
* `assertFalse(arg)`
184
-
* `assertNull(arg)`
177
+
* `assertEqual(expected, actual)`
178
+
* `assertNotEqual(expected, actual)`
179
+
* `assertLess(expected, actual)`
180
+
* `assertMore(expected, actual)`
181
+
* `assertLessOrEqual(expected, actual)`
182
+
* `assertMoreOrEqual(expected, actual)`
183
+
* `assertTrue(actual)`
184
+
* `assertFalse(actual)`
185
+
* `assertNull(actual)`
185
186
186
187
These functions will report the result of the test to the console, and the testing will continue if they fail.
0 commit comments