aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/collection.lux
blob: 4d7de7ed526a5d58b2ba325586dcc3de83689f6c (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
(.module:
  [library
   [lux "*"
    ["_" test {"+" Test}]]]
  ["[0]" / "_"
   ["[1][0]" array]
   ["[1][0]" bits]
   ["[1][0]" list]
   ["[1][0]" row]
   ["[1][0]" sequence]
   ["[1][0]" stack]
   ["[1][0]" dictionary
    ["[1]/[0]" ordered]
    ["[1]/[0]" plist]]
   ["[1][0]" queue
    ["[1]/[0]" priority]]
   ["[1][0]" set
    ["[1]/[0]" multi]
    ["[1]/[0]" ordered]]
   ["[1][0]" tree
    ["[1]/[0]" finger]
    ["[1]/[0]" zipper]]])

(def: dictionary
  Test
  ($_ _.and
      /dictionary.test
      /dictionary/ordered.test
      /dictionary/plist.test
      ))

(def: queue
  Test
  ($_ _.and
      /queue.test
      /queue/priority.test
      ))

(def: set
  Test
  ($_ _.and
      /set.test
      /set/multi.test
      /set/ordered.test
      ))

(def: tree
  Test
  ($_ _.and
      /tree.test
      /tree/finger.test
      /tree/zipper.test
      ))

(def: .public test
  Test
  ($_ _.and
      /array.test
      /bits.test
      /list.test
      /row.test
      /sequence.test
      /stack.test
      ..dictionary
      ..queue
      ..set
      ..tree
      ))