aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/control/interval.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-02-08 18:50:57 -0400
committerEduardo Julian2019-02-08 18:50:57 -0400
commitfe9748176371e55b279b965a2f03b3e01509a3c4 (patch)
tree684c843629a2f4f8d5fa4a4a3bc1c00841d93387 /stdlib/source/test/lux/control/interval.lux
parent3ade0e1af5a2ea05c58958ad8612691d60193d0d (diff)
Ported some modules to the new test format.
Diffstat (limited to 'stdlib/source/test/lux/control/interval.lux')
-rw-r--r--stdlib/source/test/lux/control/interval.lux35
1 files changed, 19 insertions, 16 deletions
diff --git a/stdlib/source/test/lux/control/interval.lux b/stdlib/source/test/lux/control/interval.lux
index 30d0dfa50..4874d3742 100644
--- a/stdlib/source/test/lux/control/interval.lux
+++ b/stdlib/source/test/lux/control/interval.lux
@@ -7,6 +7,8 @@
[data
[number
["." nat]]
+ [text
+ format]
[collection
["." set]
["." list]]]
@@ -215,19 +217,20 @@
(def: #export test
Test
- ($_ _.and
- (equivalenceT.test /.equivalence ..interval)
- (<| (_.context "Boundaries.")
- ..boundaries)
- (<| (_.context "Union.")
- ..union)
- (<| (_.context "Intersection.")
- ..intersection)
- (<| (_.context "Complement.")
- ..complement)
- (<| (_.context "Positioning/location.")
- ..location)
- (<| (_.context "Touching intervals.")
- ..touch)
- (<| (_.context "Nesting & overlap.")
- ..overlap)))
+ (<| (_.context (%name (name-of /.Interval)))
+ ($_ _.and
+ (equivalenceT.test /.equivalence ..interval)
+ (<| (_.context "Boundaries.")
+ ..boundaries)
+ (<| (_.context "Union.")
+ ..union)
+ (<| (_.context "Intersection.")
+ ..intersection)
+ (<| (_.context "Complement.")
+ ..complement)
+ (<| (_.context "Positioning/location.")
+ ..location)
+ (<| (_.context "Touching intervals.")
+ ..touch)
+ (<| (_.context "Nesting & overlap.")
+ ..overlap))))