diff options
author | Holden Rohrer <holden.rohrer@gmail.com> | 2019-12-19 23:48:45 -0500 |
---|---|---|
committer | Holden Rohrer <holden.rohrer@gmail.com> | 2019-12-19 23:48:45 -0500 |
commit | 85cb589c3c40c5ae41ea1b547926c3f2daea63ea (patch) | |
tree | f7b0ca452b022c2718f87d4f2e3e6c8031ea4374 /tests | |
parent | 3da86ed4ae7bf63600b5875a0a7d99344f738b98 (diff) |
updated test suite to address broken behavior
Diffstat (limited to 'tests')
-rw-r--r-- | tests/space_comb.js | 8 |
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 |