var assert=require("assert"),wordwrap=require("wordwrap"),fs=require("fs"),idleness=fs.readFileSync(__dirname+"/idleness.txt","utf8");exports.stop80=function(){var s=wordwrap(80)(idleness).split(/\n/),e=idleness.split(/\s+/);s.forEach(function(s){assert.ok(s.length<=80,"line > 80 columns");var r=s.match(/\S/)?s.split(/\s+/):[];assert.deepEqual(r,e.splice(0,r.length))})};exports.start20stop60=function(){var s=wordwrap(20,100)(idleness).split(/\n/),e=idleness.split(/\s+/);s.forEach(function(s){assert.ok(s.length<=100,"line > 100 columns");var r=s.split(/\s+/).filter(function(s){return s.match(/\S/)});assert.deepEqual(r,e.splice(0,r.length));assert.deepEqual(s.slice(0,20),new Array(21).join(" "))})};