aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/meta/compiler.lux
blob: 30e4ce1d9282e732e2272619b0696c664a81a7db (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
37
(.require
 [library
  [lux (.except)
   [abstract
    [monad (.only do)]]
   [math
    ["[0]" random (.only Random)]]
   [test
    ["_" property (.only Test)]]]]
 [\\library
  ["[0]" /]]
 ["[0]" /
  ["[1][0]" arity]
  ["[1][0]" version]
  ["[1][0]" reference]
  ["[1][0]" language
   ["[1]/[0]" lux]]
  ["[1][0]" meta
   ["[1]/[0]" io]]])

(def .public test
  Test
  (<| (_.covering /._)
      (do [! random.monad]
        [])
      (all _.and
           (_.coverage [/.Code /.Parameter /.Input]
             true)

           /arity.test
           /version.test
           /reference.test
           
           /language/lux.test

           /meta/io.test
           )))