aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/text/unicode/block.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-04-09 03:03:46 -0400
committerEduardo Julian2022-04-09 03:03:46 -0400
commit04c7f49a732380a2b9f72b1b937171b341c24323 (patch)
treed54c92bf10665bba0ec4643746becce569604fb2 /stdlib/source/test/lux/data/text/unicode/block.lux
parentf11afb9d2dfe2d59b41e8056eb8c4ae65268415f (diff)
Better names for testing macros (plus better indentation).
Diffstat (limited to 'stdlib/source/test/lux/data/text/unicode/block.lux')
-rw-r--r--stdlib/source/test/lux/data/text/unicode/block.lux36
1 files changed, 18 insertions, 18 deletions
diff --git a/stdlib/source/test/lux/data/text/unicode/block.lux b/stdlib/source/test/lux/data/text/unicode/block.lux
index 4c4a35e69..b7c79e556 100644
--- a/stdlib/source/test/lux/data/text/unicode/block.lux
+++ b/stdlib/source/test/lux/data/text/unicode/block.lux
@@ -156,11 +156,11 @@
(template [<definition> <part>]
[(def: <definition>
Test
- (`` (_.cover [(~~ (template.spliced <part>))]
- (let [all (list.together (list <named>))
- unique (set.of_list /.hash all)]
- (n.= (list.size all)
- (set.size unique))))))]
+ (`` (_.coverage [(~~ (template.spliced <part>))]
+ (let [all (list.together (list <named>))
+ unique (set.of_list /.hash all)]
+ (n.= (list.size all)
+ (set.size unique))))))]
<blocks>
)
@@ -192,19 +192,19 @@
(_.for [/.block]
(all _.and
- (_.cover [/.start]
- (n.= start
- (/.start sample)))
- (_.cover [/.end]
- (n.= end
- (/.end sample)))
- (_.cover [/.size]
- (n.= (++ additional)
- (/.size sample)))
- (_.cover [/.within?]
- (and (/.within? sample inside)
- (not (/.within? sample (-- (/.start sample))))
- (not (/.within? sample (++ (/.end sample))))))
+ (_.coverage [/.start]
+ (n.= start
+ (/.start sample)))
+ (_.coverage [/.end]
+ (n.= end
+ (/.end sample)))
+ (_.coverage [/.size]
+ (n.= (++ additional)
+ (/.size sample)))
+ (_.coverage [/.within?]
+ (and (/.within? sample inside)
+ (not (/.within? sample (-- (/.start sample))))
+ (not (/.within? sample (++ (/.end sample))))))
(~~ (template [<definition> <part>]
[<definition>]