Mark VanderVoord
278b8dd3e2
Pull in PR #553 .
...
Bump release.
2023-02-06 14:49:29 -05:00
Mark VanderVoord
5eca8d31ae
Merge pull request #654 from henrik-nil-acc/const_float_and_double_arrays
...
Avoid cast-qual warnings with const float and double arrays
2023-02-01 08:11:39 -05:00
Henrik Nilsson
3fe84580c8
Avoid cast-qual warnings with const float and double arrays
2023-02-01 08:02:50 +01:00
Mark VanderVoord
43a3256747
Test across multiple versions of Ruby
2023-01-16 16:41:21 -05:00
Mark VanderVoord
5a36b197fb
Merge pull request #644 from AJIOB/implement_array_within_check
...
Adding within API support for float & double arrays
2022-12-29 19:43:58 -05:00
Mark VanderVoord
d826f09bbf
Merge pull request #648 from Letme/patch-1
...
Change link to wikipedia Assert header file
2022-12-12 08:52:54 -05:00
Crt Mori
7298f3771c
Change link to wikipedia Assert header file
...
Closes #647
2022-12-12 14:49:53 +01:00
Mark VanderVoord
d0e3d73b7d
Merge pull request #640 from AJIOB/docs_param_tests
...
Create documentation for parameterized tests
2022-12-06 08:25:13 -05:00
Mark VanderVoord
87dd938d8a
Merge pull request #639 from AJIOB/auto_define_test_case_marco
...
Provide the way for automatically define TEST_CASE & TEST_RANGE macros (Thanks, Alex. Looks great!)
2022-12-06 08:24:19 -05:00
AJIOB
a35af14a27
Actualizing docs
2022-11-29 09:26:29 +03:00
AJIOB
a9959df958
Returning lost spaces
2022-11-28 20:27:56 +03:00
AJIOB
b2360fa7ca
Adding delta infinity & nan checks & tests
2022-11-28 20:23:36 +03:00
AJIOB
0963e20d0b
Force moving double delta logic to local function
2022-11-28 20:09:06 +03:00
AJIOB
7d2a927082
Adding lost float & double assert entries
...
when they were previously disabled
2022-11-28 18:45:58 +03:00
AJIOB
aed2e62142
Float-double types typo was fixed
2022-11-28 18:30:46 +03:00
AJIOB
9c45c7861b
Adding support for floating point arrays within.
...
Testing newly created API.
2022-11-28 18:28:31 +03:00
AJIOB
6567f07f47
Adding possibility for setting relative & absolute
...
floating difference
2022-11-28 18:08:37 +03:00
Mark VanderVoord
0b92f9b960
Merge pull request #643 from jpihl/master
...
Rely on `stddef.h` from `unity_internals.h`
2022-11-28 07:51:55 -05:00
Mark VanderVoord
ab51657f62
Merge pull request #642 from AJIOB/docs_assertion_fix
...
Fixing typo in assertion reference
2022-11-28 07:50:42 -05:00
Jeppe Pihl
50146afb46
Update unity.c
2022-11-28 13:15:55 +01:00
Alex Overchenko
e15b9f7a28
Fixing typo in assertion reference
2022-11-28 13:22:40 +03:00
Alex Overchenko
ad86e15ca5
Adding docs to TEST_RANGE formats.
...
Adding parameterizedDemo tests as an independent file
2022-11-27 16:09:22 +03:00
Alex Overchenko
48d7210644
Fixing CI tests passing
2022-11-27 14:46:34 +03:00
Alex Overchenko
e4085eb8e6
Using default macro for TEST_CASEs define.
...
Improving docs about manual definition.
2022-11-27 14:36:22 +03:00
Alex Overchenko
cef22753c4
Adding param tests documentation.
...
Describe TEST_CASE logic.
2022-11-27 14:20:03 +03:00
Alex Overchenko
4d5ed3d68b
Adding possibility for automatically defining
...
TEST_CASE & TEST_RANGE macros
2022-11-27 13:05:13 +03:00
Mark VanderVoord
67ca5c57c9
Merge pull request #556 from erijo/test-range-exclusive-end
...
Add support for TEST_RANGE with exclusive end
2022-11-12 20:46:33 -05:00
Mark VanderVoord
f94763d2bc
Merge pull request #587 from mbonesi/patch-1
...
fixed hyperlink text to obtain Ruby
2022-11-12 20:43:19 -05:00
Mark VanderVoord
303e6ec81a
Merge pull request #594 from LeoSebal/dev/python_JUnit_fix
...
Fixes and features on the JUnit Python conversion script
2022-11-12 20:42:55 -05:00
Mark VanderVoord
7e332fb9a9
Merge pull request #598 from AJIOB/parse_output_color_support
...
Parse output color & time support with custom test suite name
2022-11-12 20:42:07 -05:00
Mark VanderVoord
568d5f885a
Merge pull request #625 from ivankravets/master
...
Provide custom build configuration for the PlatformIO
2022-11-12 20:34:06 -05:00
Mark VanderVoord
0876c5d853
Merge pull request #629 from jonathangjertsen/printf-long
...
Support long and long long types in TEST_PRINTF
2022-11-12 20:33:13 -05:00
Mark VanderVoord
714bd1fdd3
Merge pull request #633 from RodrigoDornelles/patch-1
...
fix: add cmake outputs in .gitignore
2022-11-12 20:32:14 -05:00
Erik Flodin
563786f97c
Add support for TEST_RANGE with exclusive end
...
If the range is <start, end, step> instead of [start, end, step], the
end value will not be included in the range.
This can be useful if you have a define that defines e.g. the size of
something and you want to use this define as the end value. As the
pre-processor doesn't evalutate expressions (unless you do some macro
magic) you can't specify the range as [0, MY_SIZE - 1, 1]. With this
change you can then instead give the range <0, MY_SIZE, 1>.
2022-10-14 18:51:45 +02:00
Mark VanderVoord
22777c4810
Merge pull request #635 from Westlanderz/bugfix/Cross-compiling-set-native
...
Fix compiling native when main project is cross-compiling
2022-10-14 10:35:13 -04:00
Mark VanderVoord
5c23fa3c16
Merge pull request #634 from erijo/test-case-space
...
Improve handling of space in TEST_CASE/RANGE (Thanks @erijo !)
2022-10-14 10:09:41 -04:00
Erik Flodin
76b7e359cc
Improve handling of space in TEST_CASE/RANGE
...
The fix in 285bb6e282 didn't completly fix the issue.
2022-10-13 22:13:03 +02:00
Noah Knegt
fc5b33ce71
Fix compiling native when main project is cross-compiling
2022-10-13 15:36:10 +02:00
Mark VanderVoord
37b61d2be2
Merge pull request #555 from erijo/test-case-space
...
Ignore space around parameter in TEST_CASE()
2022-10-11 16:25:05 -04:00
Mark VanderVoord
de73f1fcbf
Merge pull request #554 from erijo/single-test-range
...
Make TEST_RANGE handle a single range
2022-10-04 21:57:38 -04:00
RodrigoDornelles
30046e664e
remove unityConfig.cmake from .gitignore
2022-09-02 16:03:55 -03:00
RodrigoDornelles
f62ff65f9b
fix: add cmake outputs in .gitignore
2022-09-02 15:28:40 -03:00
jonath.re@gmail.com
612aec09e8
Support long and long long types in TEST_PRINTF
...
This change helps Unity parse and print correctly in cases where a long
or long long type is passed to TEST_PRINTF.
Example situations:
```C
// With %u:
TEST_PRINTF("%u %d\n", ((1ULL << 63) - 1), 5); // --> prints 11982546 -1 (both arguments incorrect because only 4 of the 8 bytes were read out of the va_list)
// With %llu, UNITY_SUPPORT_64=0
TEST_PRINTF("%llu %d\n", ((1ULL << 63) - 1), 5); // --> prints 4294967295 5 (first argument wrapped, second argument intact)
// With %llu, UNITY_SUPPORT_64=1
TEST_PRINTF("%llu %d\n", ((1ULL << 63) - 1), 5); // --> prints 9223372036854775807 5 (both arguments correct)
```
2022-07-27 02:39:14 +02:00
Ivan Kravets
062e44ebc5
Provide custom build configuration for the PlatformIO
2022-06-27 17:20:22 +00:00
Mark VanderVoord
3852926c00
Merge pull request #624 from trbenton/bugfix/stray-tab
...
Formatting: Replace a stray tab with spaces
2022-06-22 08:11:50 -04:00
trbenton
ca7a1707c9
Formatting: Replace a stray tab with spaces
2022-06-21 23:38:03 -04:00
Mark VanderVoord
4ee26e4e0d
Merge pull request #619 from eli-schwartz/meson-cleanup
...
Meson cleanup
2022-06-19 15:31:37 -04:00
Eli Schwartz
1b13155244
meson: include the license info in the project definition
...
This is useful to help convey the usage rights and e.g. generate a
Software Bill of Materials.
2022-06-19 13:49:52 -04:00
Eli Schwartz
0129cf5b11
meson: specify correct minimum versions of Meson
...
The main project doesn't really have any specific version requirement.
Specify a very low one just in case -- 0.37.0 is old enough to cover
probably any existing use of Meson anywhere in the wild, and
coincidentally is also the version that Meson started adding feature
warnings for, to notify you if you use too-new features.
The example *does* depend on a specific version. It needs 0.55.0 in
order to use subproject wrap dependency fallback instead of the legacy
style of specifying the name of the variable as a fallback. Ensure that
is used.
2022-06-19 13:44:57 -04:00
Eli Schwartz
ae10bd1268
examples: meson: do not use deprecated test naming style
...
Tests cannot contain a ":", and configuring the example produced the
following warning:
test/test_runners/meson.build:12: DEPRECATION: ":" is not allowed in test name "Running: 01-test-case", it has been replaced with "_"
test/test_runners/meson.build:13: DEPRECATION: ":" is not allowed in test name "Running: 02-test-case", it has been replaced with "_"
In this case, the "running" part is redundant, so remove it.
2022-06-19 13:41:09 -04:00