chore: test
This commit is contained in:
parent
f0cea60965
commit
0aef2eadbf
|
@ -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],
|
||||
));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user