summaryrefslogtreecommitdiff
path: root/source/tests/test_duration.test.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-03 22:20:31 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-03 22:20:31 +0200
commitee0a2e7e1965200ec5968ec310bee429db819dde (patch)
tree8d5632e29233d87a6a14de1165abac7e99bd879a /source/tests/test_duration.test.c
parent835e1fcd131c63ee2b3b647e327b33a3bfb369e3 (diff)
downloadkit-ee0a2e7e1965200ec5968ec310bee429db819dde.zip
Remove const
Diffstat (limited to 'source/tests/test_duration.test.c')
-rw-r--r--source/tests/test_duration.test.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source/tests/test_duration.test.c b/source/tests/test_duration.test.c
deleted file mode 100644
index 27384b4..0000000
--- a/source/tests/test_duration.test.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#define KIT_TEST_FILE test_duration
-#include "../kit_test/test.h"
-
-#if defined(_WIN32) && !defined(__CYGWIN__)
-__declspec(dllimport) void __stdcall Sleep(unsigned long timeout);
-static void kit_sleep(int ms) {
- Sleep(ms);
-}
-#else
-# include <stdlib.h>
-# include <unistd.h>
-static void kit_sleep(int ms) {
- usleep(ms * 1000);
-}
-#endif
-
-TEST("test duration") {
- kit_sleep(100);
-}