1
0
Fork 0

chore(core): More unit tests

This commit is contained in:
joostdecock 2022-07-30 16:53:07 +02:00
parent 698fb7d942
commit 68c49c64ae
4 changed files with 329 additions and 3 deletions

View file

@ -260,7 +260,6 @@ it("Should raise a warning if rotating around what is not a point", () => {
let invalid = false
const raise = { warning: () => invalid = true }
const p1 = new Point(10,10).withRaise(raise);
const p2 = new Point(20, 20).withRaise(raise);
expect(invalid).to.equal(false);
try {
p1.rotate(45, 'a')