aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2019-12-18 15:58:38 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2019-12-18 15:58:38 -0500
commit27edad92c3af494c24b0bddb052a5182e974027e (patch)
tree4dac30c2e218ef4e9ac8fdfa214a0f9f0aed964a /tests
parent2d1481ce953a869b129bf2c98d7c084d7180f8a3 (diff)
tested and fixed space.subsection
Diffstat (limited to 'tests')
-rw-r--r--tests/space_subsection.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/space_subsection.js b/tests/space_subsection.js
new file mode 100644
index 0000000..a2523e5
--- /dev/null
+++ b/tests/space_subsection.js
@@ -0,0 +1,10 @@
+// Tests Space.subsection()
+const space = require('../space');
+
+newspace = new space.Space();
+newspace.adhoc('\
+line\n\
+\n\
+long long long line\
+');
+console.log(newspace.subsection([1,1,2,10]));