test: fix running test on windows (msvc)

This commit is contained in:
Recep Aslantas
2019-09-14 12:46:04 +03:00
parent 551ed1bd20
commit 0ed88cfda8
3 changed files with 14 additions and 8 deletions

View File

@@ -97,9 +97,11 @@ typedef struct test_entry_t {
# define drand48() ((float)(rand() / (RAND_MAX + 1.0)))
# define OK_TEXT "ok:"
# define FAIL_TEXT "fail:"
# define FINAL_TEXT "^_^"
#else
# define OK_TEXT "✔︎"
# define FAIL_TEXT "𐄂"
# define FINAL_TEXT "🎉"
#endif
#endif /* common_h */