aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/text.tm8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/text.tm b/test/text.tm
index 33582a1c..690bb57a 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -14,3 +14,11 @@
>> \UE9 == \U65\U301
= yes
+
+>> amelie := "Amélie"
+>> amelie:clusters()
+= ["A", "m", "é", "l", "i", "e"] : [Text]
+>> amelie:codepoints()
+= [65_i32, 109_i32, 101_i32, 769_i32, 108_i32, 105_i32, 101_i32] : [Int32]
+>> amelie:bytes()
+= [65_i8, 109_i8, 101_i8, -52_i8, -127_i8, 108_i8, 105_i8, 101_i8] : [Int8]