aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/number/frac.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/data/number/frac.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/test/lux/data/number/frac.lux b/stdlib/source/test/lux/data/number/frac.lux
index fcffb7c45..ca3d4d21c 100644
--- a/stdlib/source/test/lux/data/number/frac.lux
+++ b/stdlib/source/test/lux/data/number/frac.lux
@@ -23,7 +23,7 @@
(def: random
(Random Frac)
- (:: random.monad map (|>> (i.% +1,000,000) i.frac) random.int))
+ (\ random.monad map (|>> (i.% +1,000,000) i.frac) random.int))
(def: signature
Test
@@ -73,7 +73,7 @@
Test
(do {! random.monad}
[sample ..random
- shift (:: ! map /.abs ..random)]
+ shift (\ ! map /.abs ..random)]
($_ _.and
(_.cover [/.negative?]
(bit\= (/.negative? sample)
@@ -98,16 +98,16 @@
Test
($_ _.and
(do {! random.monad}
- [expected (:: ! map (n.% 1,000,000) random.nat)]
+ [expected (\ ! map (n.% 1,000,000) random.nat)]
(_.cover [/.nat]
(|> expected n.frac /.nat (n.= expected))))
(do {! random.monad}
- [expected (:: ! map (i.% +1,000,000) random.int)]
+ [expected (\ ! map (i.% +1,000,000) random.int)]
(_.cover [/.int]
(|> expected i.frac /.int (i.= expected))))
(do {! random.monad}
- [expected (:: ! map (|>> (i64.left-shift 32) .rev)
- random.nat)]
+ [expected (\ ! map (|>> (i64.left-shift 32) .rev)
+ random.nat)]
(_.cover [/.rev]
(|> expected r.frac /.rev (r.= expected))))
))