aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/collection.lux
blob: 2f85ba0576599a81fea1face96a5e27682928f64 (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
(.using
 [library
  [lux (.except)
   ["_" test (.only Test)]]]
 ["[0]" /
  ["[1][0]" array]
  ["[1][0]" bits]
  ["[1][0]" list]
  ["[1][0]" sequence]
  ["[1][0]" stream]
  ["[1][0]" stack]
  ["[1][0]" dictionary (.only)
   ["[1]/[0]" ordered]
   ["[1]/[0]" plist]]
  ["[1][0]" queue (.only)
   ["[1]/[0]" priority]]
  ["[1][0]" set (.only)
   ["[1]/[0]" multi]
   ["[1]/[0]" ordered]]
  ["[1][0]" tree (.only)
   ["[1]/[0]" finger]
   ["[1]/[0]" zipper]]])

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

(def queue
  Test
  (all _.and
       /queue.test
       /queue/priority.test
       ))

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

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

(def .public test
  Test
  (all _.and
       /array.test
       /bits.test
       /list.test
       /sequence.test
       /stream.test
       /stack.test
       ..dictionary
       ..queue
       ..set
       ..tree
       ))