aboutsummaryrefslogtreecommitdiff
path: root/tests/space_subsection.js
blob: b30b7e1b6ab883af3543c97a76fc3e01d007a833 (plain)
1
2
3
4
5
6
7
8
9
10
// Tests Space.subsection()
const Space = require('../space');

newspace = new Space();
newspace.adhoc('\
line\n\
\n\
long long long line\
');
console.log(newspace.subsection([1,1,2,10]));