Index: lib/src/prism/tests/languages/scheme/number_feature.test |
diff --git a/lib/src/prism/tests/languages/scheme/number_feature.test b/lib/src/prism/tests/languages/scheme/number_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dfd7dcc8cfbd702c50d5425069d0c2f46416c3b8 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/scheme/number_feature.test |
@@ -0,0 +1,19 @@ |
+(foo 42) |
+(foo 3.14159) |
+(foo 3+4i) |
+(foo 2.5+0.0i) |
+(foo 3+0i) |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["punctuation", "("], ["function", "foo"], ["number", "42"], ["punctuation", ")"], |
+ ["punctuation", "("], ["function", "foo"], ["number", "3.14159"], ["punctuation", ")"], |
+ ["punctuation", "("], ["function", "foo"], ["number", "3+4i"], ["punctuation", ")"], |
+ ["punctuation", "("], ["function", "foo"], ["number", "2.5+0.0i"], ["punctuation", ")"], |
+ ["punctuation", "("], ["function", "foo"], ["number", "3+0i"], ["punctuation", ")"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for numbers and complex numbers. |