From 85cb589c3c40c5ae41ea1b547926c3f2daea63ea Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Thu, 19 Dec 2019 23:48:45 -0500 Subject: updated test suite to address broken behavior --- tests/space_comb.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit