aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/math/number/int.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/math/number/int.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/test/lux/math/number/int.lux b/stdlib/source/test/lux/math/number/int.lux
index d7d3d6122..18f46233a 100644
--- a/stdlib/source/test/lux/math/number/int.lux
+++ b/stdlib/source/test/lux/math/number/int.lux
@@ -84,7 +84,7 @@
(_.cover [/.-]
(and (/.= +0 (/.- sample sample))
(/.= sample (/.- +0 sample))
- (/.= (/.negate sample)
+ (/.= (/.opposite sample)
(/.- sample +0))))
(_.cover [/./]
(and (/.= +1 (/./ sample sample))
@@ -168,12 +168,12 @@
))
(do random.monad
[expected random.int]
- (_.cover [/.negate]
+ (_.cover [/.opposite]
(let [subtraction!
- (/.= +0 (/.+ (/.negate expected) expected))
+ (/.= +0 (/.+ (/.opposite expected) expected))
inverse!
- (|> expected /.negate /.negate (/.= expected))]
+ (|> expected /.opposite /.opposite (/.= expected))]
(and subtraction!
inverse!))))
(do {! random.monad}