aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/text/unicode/block.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/data/text/unicode/block.lux150
1 files changed, 75 insertions, 75 deletions
diff --git a/stdlib/source/test/lux/data/text/unicode/block.lux b/stdlib/source/test/lux/data/text/unicode/block.lux
index eb55617ca..a575b4fc6 100644
--- a/stdlib/source/test/lux/data/text/unicode/block.lux
+++ b/stdlib/source/test/lux/data/text/unicode/block.lux
@@ -29,17 +29,17 @@
end random.nat]
(wrap (/.block start end))))
-(with-expansions [<blocks> (as-is [blocks/0
- [/.basic-latin
- /.latin-1-supplement
- /.latin-extended-a
- /.latin-extended-b
- /.ipa-extensions
- /.spacing-modifier-letters
- /.combining-diacritical-marks
- /.greek-and-coptic
+(with_expansions [<blocks> (as_is [blocks/0
+ [/.basic_latin
+ /.latin_1_supplement
+ /.latin_extended_a
+ /.latin_extended_b
+ /.ipa_extensions
+ /.spacing_modifier_letters
+ /.combining_diacritical_marks
+ /.greek_and_coptic
/.cyrillic
- /.cyrillic-supplementary
+ /.cyrillic_supplementary
/.armenian
/.hebrew
/.arabic
@@ -60,10 +60,10 @@
/.tibetan
/.myanmar
/.georgian
- /.hangul-jamo
+ /.hangul_jamo
/.ethiopic
/.cherokee
- /.unified-canadian-aboriginal-syllabics
+ /.unified_canadian_aboriginal_syllabics
/.ogham
/.runic
/.tagalog
@@ -74,74 +74,74 @@
/.mongolian]]
[blocks/1
[/.limbu
- /.tai-le
- /.khmer-symbols
- /.phonetic-extensions
- /.latin-extended-additional
- /.greek-extended
- /.general-punctuation
- /.superscripts-and-subscripts
- /.currency-symbols
- /.combining-diacritical-marks-for-symbols
- /.letterlike-symbols
- /.number-forms
+ /.tai_le
+ /.khmer_symbols
+ /.phonetic_extensions
+ /.latin_extended_additional
+ /.greek_extended
+ /.general_punctuation
+ /.superscripts_and_subscripts
+ /.currency_symbols
+ /.combining_diacritical_marks_for_symbols
+ /.letterlike_symbols
+ /.number_forms
/.arrows
- /.mathematical-operators
- /.miscellaneous-technical
- /.control-pictures
- /.optical-character-recognition
- /.enclosed-alphanumerics
- /.box-drawing
- /.block-elements
- /.geometric-shapes
- /.miscellaneous-symbols
+ /.mathematical_operators
+ /.miscellaneous_technical
+ /.control_pictures
+ /.optical_character_recognition
+ /.enclosed_alphanumerics
+ /.box_drawing
+ /.block_elements
+ /.geometric_shapes
+ /.miscellaneous_symbols
/.dingbats
- /.miscellaneous-mathematical-symbols-a
- /.supplemental-arrows-a
- /.braille-patterns
- /.supplemental-arrows-b
- /.miscellaneous-mathematical-symbols-b
- /.supplemental-mathematical-operators
- /.miscellaneous-symbols-and-arrows
- /.cjk-radicals-supplement
- /.kangxi-radicals
- /.ideographic-description-characters
- /.cjk-symbols-and-punctuation
+ /.miscellaneous_mathematical_symbols_a
+ /.supplemental_arrows_a
+ /.braille_patterns
+ /.supplemental_arrows_b
+ /.miscellaneous_mathematical_symbols_b
+ /.supplemental_mathematical_operators
+ /.miscellaneous_symbols_and_arrows
+ /.cjk_radicals_supplement
+ /.kangxi_radicals
+ /.ideographic_description_characters
+ /.cjk_symbols_and_punctuation
/.hiragana
/.katakana
/.bopomofo
- /.hangul-compatibility-jamo
+ /.hangul_compatibility_jamo
/.kanbun
- /.bopomofo-extended
- /.katakana-phonetic-extensions
- /.enclosed-cjk-letters-and-months
- /.cjk-compatibility
- /.cjk-unified-ideographs-extension-a
- /.yijing-hexagram-symbols
- /.cjk-unified-ideographs
- /.yi-syllables
- /.yi-radicals
- /.hangul-syllables
- /.high-surrogates
- /.high-private-use-surrogates
- /.low-surrogates
- /.private-use-area
- /.cjk-compatibility-ideographs
- /.alphabetic-presentation-forms]]
+ /.bopomofo_extended
+ /.katakana_phonetic_extensions
+ /.enclosed_cjk_letters_and_months
+ /.cjk_compatibility
+ /.cjk_unified_ideographs_extension_a
+ /.yijing_hexagram_symbols
+ /.cjk_unified_ideographs
+ /.yi_syllables
+ /.yi_radicals
+ /.hangul_syllables
+ /.high_surrogates
+ /.high_private_use_surrogates
+ /.low_surrogates
+ /.private_use_area
+ /.cjk_compatibility_ideographs
+ /.alphabetic_presentation_forms]]
[blocks/2
- [/.arabic-presentation-forms-a
- /.variation-selectors
- /.combining-half-marks
- /.cjk-compatibility-forms
- /.small-form-variants
- /.arabic-presentation-forms-b
- /.halfwidth-and-fullwidth-forms
+ [/.arabic_presentation_forms_a
+ /.variation_selectors
+ /.combining_half_marks
+ /.cjk_compatibility_forms
+ /.small_form_variants
+ /.arabic_presentation_forms_b
+ /.halfwidth_and_fullwidth_forms
/.specials
## Specialized blocks
- /.basic-latin/decimal
- /.basic-latin/upper-alpha
- /.basic-latin/lower-alpha]]
+ /.basic_latin/decimal
+ /.basic_latin/upper_alpha
+ /.basic_latin/lower_alpha]]
)
<named> (template [<definition> <part>]
[((: (-> Any (List /.Block))
@@ -155,7 +155,7 @@
Test
(`` (_.cover [(~~ (template.splice <part>))]
(let [all (list.concat (list <named>))
- unique (set.from-list /.hash all)]
+ unique (set.from_list /.hash all)]
(n.= (list.size all)
(set.size unique))))))]
@@ -167,10 +167,10 @@
(<| (_.covering /._)
(_.for [/.Block])
(do {! random.monad}
- [#let [top-start (hex "AC00")
- top-end (hex "D7AF")]
- start (\ ! map (|>> (n.% top-start) inc) random.nat)
- end (\ ! map (|>> (n.% top-end) inc) random.nat)
+ [#let [top_start (hex "AC00")
+ top_end (hex "D7AF")]
+ start (\ ! map (|>> (n.% top_start) inc) random.nat)
+ end (\ ! map (|>> (n.% top_end) inc) random.nat)
#let [sample (/.block start end)
size (/.size sample)]
inside (\ ! map