summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/tests/string/length.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/tests/string/length.asy')
-rw-r--r--Build/source/utils/asymptote/tests/string/length.asy6
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/tests/string/length.asy b/Build/source/utils/asymptote/tests/string/length.asy
new file mode 100644
index 00000000000..dafb5d56b91
--- /dev/null
+++ b/Build/source/utils/asymptote/tests/string/length.asy
@@ -0,0 +1,6 @@
+import TestLib;
+StartTest("length");
+assert(length("") == 0);
+assert(length("abc") == 3);
+assert(length("abcdef") == 6);
+EndTest();