ThrowTheSwitch / Unity

Simple Unit Testing for C
ThrowTheSwitch.org
MIT License
4.02k stars 969 forks source link

Expose double support as an option. #684

Closed detly closed 1 year ago

detly commented 1 year ago

Without this, a parent project can set -DUNITY_INCLUDE_DOUBLE in their c_args but get link errors because it is not applied to the build of Unity (eg. undefined reference toUnityAssertDoublesWithin'`).

I would have added the other options but my tests don't use them and I didn't want to add them without checking.