diff --git a/ui/src/__tests__/rectangle.spec.ts b/ui/src/__tests__/rectangle.spec.ts index 14c8b17..46eb5e6 100644 --- a/ui/src/__tests__/rectangle.spec.ts +++ b/ui/src/__tests__/rectangle.spec.ts @@ -29,14 +29,17 @@ describe("Rectangle Tests", () => { } it("should create a default rectangle", () => { + expect.hasAssertions(); check_rectangle(new Rectangle(), 0, 0, 0, 0); }); it("should create a rectangle", () => { + expect.hasAssertions(); check_rectangle(r1, 1, 2, 3, 4); }); it("should create the same rectangle backwards", () => { + expect.hasAssertions(); check_rectangle(r2, 1, 2, 3, 4); }); @@ -67,6 +70,7 @@ describe("Rectangle Tests", () => { }); it("should update a rectangle", () => { + expect.hasAssertions(); const v = new Vector2D(1, 1); check_rectangle(r1.update(v1.plus(v), undefined), 2, 3, 2, 3); @@ -83,6 +87,7 @@ describe("Rectangle Tests", () => { }); it("should move a rectangle", () => { + expect.hasAssertions(); const v = new Vector2D(1, 1); check_rectangle(r1.move(v), 2, 3, 3, 4);