blob: 5db6e9d6517a069fd444bdc907bea605bf49b070 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
(.using
[library
[lux (.full)
["_" test (.only Test)]
[abstract
[\\specification
["$[0]" equivalence]
["$[0]" hash]]]
[data
[collection
["[0]" set]]]
[math
["[0]" random (.only Random)]]]]
[\\library
["[0]" /]])
(def: .public random
(Random /.ID)
(all random.and
random.nat
random.nat
))
(def: .public test
Test
(<| (_.covering /._)
(_.for [/.ID])
(all _.and
(_.for [/.equivalence]
($equivalence.spec /.equivalence ..random))
(_.for [/.hash]
($hash.spec /.hash ..random))
(_.coverage [/.none]
(set.empty? /.none))
)))
|