mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-18 12:51:44 +08:00

Primarily - * Added "static" to static functions. * Added proper signature with "void" to functions without arguments. * Marked unused arguments with "(void)". * Removed entirely unused static functions. * Added "const" to preserve const-correctness. * Added function prototypes for external functions.
Example 2 ========= Same as the first example, but now using Unity's test fixture to group tests together. Using the test fixture also makes writing test runners much easier.