aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/hash.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-09-12 15:39:55 -0400
committerEduardo Julian2021-09-12 15:39:55 -0400
commit2dbbaaec93a53f8dd0b96a0028b9cf125c9066cd (patch)
tree14bc8b5abe09b46ef005c3ff7cf132f1d98ddf0d /stdlib/source/test/aedifex/hash.lux
parentdda05bca0956af5e5b3875c4cc36e61aa04772e4 (diff)
Re-named \ => # && \\ => ##
Diffstat (limited to 'stdlib/source/test/aedifex/hash.lux')
-rw-r--r--stdlib/source/test/aedifex/hash.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/test/aedifex/hash.lux b/stdlib/source/test/aedifex/hash.lux
index eb3886755..67dfa6b01 100644
--- a/stdlib/source/test/aedifex/hash.lux
+++ b/stdlib/source/test/aedifex/hash.lux
@@ -30,8 +30,8 @@
(-> (-> Binary (/.Hash h))
(Random (/.Hash h))))
(do [! random.monad]
- [size (\ ! each (n.% 100) random.nat)]
- (\ ! each hash (_binary.random size))))
+ [size (# ! each (n.% 100) random.nat)]
+ (# ! each hash (_binary.random size))))
(def: .public test
Test
@@ -51,11 +51,11 @@
(_.cover [<hash> <constructor> <exception>]
(and (case (<constructor> (/.data expected))
{try.#Success actual}
- (\ /.equivalence = expected actual)
+ (# /.equivalence = expected actual)
{try.#Failure error}
false)
- (case (<constructor> (\ binary.monoid composite
+ (case (<constructor> (# binary.monoid composite
(/.data expected)
(/.data expected)))
{try.#Success actual}
@@ -80,8 +80,8 @@
[(do random.monad
[expected (..random <hash>)]
(_.cover [<codec>]
- (case (\ <codec> decoded
- (format (\ <codec> encoded expected)
+ (case (# <codec> decoded
+ (format (# <codec> encoded expected)
"AABBCC"))
{try.#Success actual}
false