Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
prathameshd30 committed Nov 6, 2024
1 parent e6a4ef7 commit 269e14d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/testing_macro.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <stdio.h>
#include <stdlib.h>

// Can double stringize but tbh do not understand it completely. Hence used printf instead of puts.
// Can double stringize for better memory safety but tbh do not understand it completely. Hence used printf instead of puts.
#define test(EXPECTED_CONDITION, FAILURE_MESSAGE)\
if(!(EXPECTED_CONDITION)){\
printf("File:"__FILE__ " Line:%d " #EXPECTED_CONDITION " : " FAILURE_MESSAGE "\n", __LINE__);\
Expand Down

0 comments on commit 269e14d

Please sign in to comment.