Created
March 14, 2024 08:02
-
-
Save zaerl/2479a77fdb2a93966677790ff80fe683 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <attractor.h> | |
int var_to_test_1 = 1; | |
float var_to_test_2 = 2.0; | |
ATT_ASSERT(var_to_test_1, 1, "integer test") | |
ATT_ASSERT(var_to_test_2, 2.0, "float test") | |
ATT_ASSERT("foo", "foo", "Strings compare") | |
// Etc. | |
printf("Valid/run: %d/%d", att_get_valid_tests(), att_get_total_tests()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment