aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2019-12-19 23:48:45 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2019-12-19 23:48:45 -0500
commit85cb589c3c40c5ae41ea1b547926c3f2daea63ea (patch)
treef7b0ca452b022c2718f87d4f2e3e6c8031ea4374
parent3da86ed4ae7bf63600b5875a0a7d99344f738b98 (diff)
updated test suite to address broken behavior
-rw-r--r--tests/space_comb.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/space_comb.js b/tests/space_comb.js
index 1cde721..5200fd8 100644
--- a/tests/space_comb.js
+++ b/tests/space_comb.js
@@ -9,6 +9,8 @@ line1\n\
\n\
afterempty\n')
+empty = new Space();
+
otherspace = new Space();
otherspace.adhoc('\
&&&transparency&&&\n\
@@ -21,4 +23,8 @@ function add(char1,char2){
otherspace.comb(newspace, add, [0,0]);
-console.log(otherspace.print());
+empty.comb(otherspace, add, [0,0]);
+empty.comb(otherspace, add, [8,0]);
+
+//console.log(otherspace.print());
+console.log(empty.print()); // Should be equal to otherspace slightly displaced