aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/specification
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/specification/lux/abstract/hash.lux29
-rw-r--r--stdlib/source/test/lux/math/arithmetic.lux (renamed from stdlib/source/specification/lux/math/arithmetic.lux)0
2 files changed, 0 insertions, 29 deletions
diff --git a/stdlib/source/specification/lux/abstract/hash.lux b/stdlib/source/specification/lux/abstract/hash.lux
deleted file mode 100644
index 28b1c27a2..000000000
--- a/stdlib/source/specification/lux/abstract/hash.lux
+++ /dev/null
@@ -1,29 +0,0 @@
-(.require
- [library
- [lux (.except)
- [abstract
- [monad (.only do)]
- ["[0]" equivalence
- ["[1]T" \\test]]]
- [math
- ["[0]" random (.only Random)]
- [number
- ["n" nat]]]
- [test
- ["_" property (.only Test)]]]]
- [\\library
- ["[0]" /]])
-
-(def .public (spec (open "/#[0]") random)
- (All (_ a) (-> (/.Hash a) (Random a) Test))
- (do random.monad
- [parameter random
- subject random]
- (all _.and
- (_.for [/.equivalence]
- (equivalenceT.spec /#equivalence random))
- (_.coverage [/.Hash /.hash]
- (if (/#= parameter subject)
- (n.= (/#hash parameter) (/#hash subject))
- true))
- )))
diff --git a/stdlib/source/specification/lux/math/arithmetic.lux b/stdlib/source/test/lux/math/arithmetic.lux
index 1c13f52f5..1c13f52f5 100644
--- a/stdlib/source/specification/lux/math/arithmetic.lux
+++ b/stdlib/source/test/lux/math/arithmetic.lux