chore: test

This commit is contained in:
cha0s 2021-02-09 10:16:03 -06:00
parent f0cea60965
commit 0aef2eadbf

View File

@ -61,4 +61,10 @@ describe('Rectangle', function() {
it('can floor', function() {
expect(Rectangle.floor([3.14, 4.70, 5.32, 1.8])).to.deep.equal([3, 4, 5, 1]);
});
it('can test inside', () => {
console.log(Rectangle.isInside(
[-22.55753963192675, -36.22420629859356, 64, 64],
[-6.557539631926751, -20.224206298593554, 32, 32],
));
});
});