aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/time/date.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/time/date.lux')
-rw-r--r--stdlib/source/test/lux/time/date.lux7
1 files changed, 6 insertions, 1 deletions
diff --git a/stdlib/source/test/lux/time/date.lux b/stdlib/source/test/lux/time/date.lux
index b8813ba77..fdf78d535 100644
--- a/stdlib/source/test/lux/time/date.lux
+++ b/stdlib/source/test/lux/time/date.lux
@@ -19,7 +19,8 @@
[math
["." random (#+ Random)]
[number
- ["n" nat]]]]
+ ["n" nat]
+ ["i" int]]]]
[\\
["." /]])
@@ -63,6 +64,10 @@
/.to_days
/.from_days
(\ /.equivalence = expected))))
+ (_.cover [/.epoch]
+ (|> /.epoch
+ /.to_days
+ (i.= +0)))
(do random.monad
[expected random.date]
(_.cover [/.parser]