aboutsummaryrefslogtreecommitdiff
path: root/tests/tconditions.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tconditions.nim')
-rw-r--r--tests/tconditions.nim16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/tconditions.nim b/tests/tconditions.nim
deleted file mode 100644
index a0298e4..0000000
--- a/tests/tconditions.nim
+++ /dev/null
@@ -1,16 +0,0 @@
-import soon/conditions
-import std/[unittest]
-import std/[times]
-
-let date1 = dateTime(2025, mJan, 01, 00, 00, 00, 00, utc())
-let date2 = dateTime(2025, mJan, 01, 00, 00, 00, 00, local())
-let date3 = dateTime(2025, mDec, 31, 00, 00, 00, 00, utc())
-let date4 = dateTime(2024, mFeb, 29, 00, 00, 00, 00, local())
-let date5 = dateTime(0001, mJan, 01, 00, 00, 00, 00, local())
-let date6 = dateTime(9999, mDec, 31, 00, 00, 00, 00, local())
-
-
-test "Time (always true)":
- check checkCond("00:00", date1) == true
- check checkCond("23:59", date2) == true
- check checkCond("25:00", date3) == true