diff options
author | Eduardo Julian | 2021-07-16 02:23:00 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-07-16 02:23:00 -0400 |
commit | bfacc0c96e56eedf788aba44bd8ad2848a35c390 (patch) | |
tree | 7d5f637d589ac68c645d6d726967d6fac51da15d /stdlib/source/test/aedifex/artifact/time | |
parent | 0abd5bd3c0e38e352e9ba38268e04e1c858ab01e (diff) |
Fixed some inconsistent naming.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/test/aedifex/artifact/time.lux | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/stdlib/source/test/aedifex/artifact/time.lux b/stdlib/source/test/aedifex/artifact/time.lux index f69566096..131155500 100644 --- a/stdlib/source/test/aedifex/artifact/time.lux +++ b/stdlib/source/test/aedifex/artifact/time.lux @@ -10,6 +10,8 @@ ["." try ("#\." functor)] [parser ["<.>" text]]] + [time + ["." instant ("#\." equivalence)]] [math ["." random (#+ Random)] [number @@ -43,6 +45,16 @@ (<text>.run /.parser) (try\map (\ /.equivalence = expected)) (try.default false)))) + (do random.monad + [expected ..random] + (_.cover [/.instant /.from_instant] + (|> expected + /.instant + /.from_instant + (try\map (\ /.equivalence = expected)) + (try.default false)))) + (_.cover [/.epoch] + (instant\= instant.epoch (/.instant /.epoch))) /date.test /time.test |