@@ -233,8 +233,6 @@ These are the available options:
233233
234234Unity also supports the ` TESTBRIDGE_TEST_ONLY ` environment variable (used by
235235Bazel's ` --test_filter ` ) when ` UNITY_USE_COMMAND_LINE_ARGS ` is enabled.
236- If you prefer to avoid including ` <stdlib.h> ` , define ` UNITY_GETENV ` to your
237- own ` getenv ` -compatible function (for example, via ` unity_config.h ` ).
238236
239237##### ` :setup_name `
240238
@@ -382,11 +380,11 @@ tests/test_unity_parameterizedDemo.c:14:test_demoParamFunction(4, 6, 30):PASS
382380
383381As we can see:
384382
385- | Parameter | Format | Possible values | Total of values | Format number |
386- | ---| ---| ---| ---| ---|
387- | ` a ` | ` [3, 4, 1] ` | ` 3 ` , ` 4 ` | 2 | Format 1 |
388- | ` b ` | ` [10, 5, -2] ` | ` 10 ` , ` 8 ` , ` 6 ` | 3 | Format 1, negative step, end number is not included |
389- | ` c ` | ` <30, 31, 1> ` | ` 30 ` | 1 | Format 2 |
383+ | Parameter | Format | Possible values | Total of values | Format number |
384+ | --------- | ------------- | --------------- | --------------- | --------------------------------------------------- |
385+ | ` a ` | ` [3, 4, 1] ` | ` 3 ` , ` 4 ` | 2 | Format 1 |
386+ | ` b ` | ` [10, 5, -2] ` | ` 10 ` , ` 8 ` , ` 6 ` | 3 | Format 1, negative step, end number is not included |
387+ | ` c ` | ` <30, 31, 1> ` | ` 30 ` | 1 | Format 2 |
390388
391389_ Note_ , that format 2 also supports negative step.
392390
@@ -453,11 +451,11 @@ tests/test_unity_parameterizedDemo.c:18:test_demoParamFunction(7, 1, 20.0f):PASS
453451
454452As we can see:
455453
456- | Parameter | Format | Count of values |
457- | ---| ---| ---|
458- | ` a ` | ` [3, 4, 7] ` | 3 |
459- | ` b ` | ` [10, 8, 2, 1] ` | 4 |
460- | ` c ` | ` [30u, 20.0f] ` | 2 |
454+ | Parameter | Format | Count of values |
455+ | --------- | --------------- | --------------- |
456+ | ` a ` | ` [3, 4, 7] ` | 3 |
457+ | ` b ` | ` [10, 8, 2, 1] ` | 4 |
458+ | ` c ` | ` [30u, 20.0f] ` | 2 |
461459
462460We totally have 3 * 4 * 2 = 24 equal test cases, that can be written as following:
463461
0 commit comments