aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/meta/compiler.lux
blob: 58ac3c8a3be001304e5370317dfcdcdf44b339d4 (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
(.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]])

(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.test
           )))