aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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