aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_node.c
AgeCommit message (Collapse)AuthorFilesLines
2024-11-23Use angle brackets for library includesDavid Robillard1-1/+1
2024-09-27Make function parameters const wherever possibleDavid Robillard1-1/+1
The early history of this code didn't tend to make parameters const, but the "const density" is high enough now that I often find myself wondering if something is mutable for some reason, or just old and sloppier. So, eliminate this confusion by making (hopefully) all function parameters const if possible.
2024-09-21Remove pointless and inconsistent printing from unit testsDavid Robillard1-2/+0
2024-09-01Use a consistent naming scheme for test helper functionsDavid Robillard1-2/+2
2024-06-25Improve test suite coverageDavid Robillard1-2/+88
2024-01-09Avoid regressions in clang nullability checksDavid Robillard1-3/+5
Clang 15 (and still as of 16) lost the ability to understand null checks in conditionals, which is supposed to suppress these warnings. For now, work around some, and suppress others. The suppression boilerplate here is noisy and ugly, and hopefully temporary. It should be removed once the issue is fixed in clang. See https://github.com/llvm/llvm-project/issues/63018
2023-10-06Tolerate reduce floating point precision on Apple SiliconDavid Robillard1-2/+2
This is... strange, and slightly worrying, although it's already known that this conversion code isn't exact in all cases. The next major version will fix that (and I've confirmed that these issues aren't present there), but that's a major change so, for now, just reduce the very large number in the test case slightly so that it passes on these chips as well.
2022-08-31Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2022-08-09Fix array size warningDavid Robillard1-3/+7
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2020-12-31Format all code with clang-formatDavid Robillard1-115/+124
2020-11-13Remove tests that pass null to nonnull parametersDavid Robillard1-2/+2
2020-11-09Split out reader and writer testsDavid Robillard1-0/+203