"describe" params

This commit is contained in:
Jörn-Michael Miehe 2023-01-23 15:07:40 +00:00
parent 33b8a66b23
commit 1ca9ca6577

View file

@ -1,7 +1,7 @@
import { Rectangle, Vector2D } from '@/components/rects/rectangles'; import { Rectangle, Vector2D } from '@/components/rects/rectangles';
import { expect } from "chai"; import { expect } from "chai";
describe("Vector Tests", () => { describe("Vector2D Tests", () => {
const v = new Vector2D(1, 2); const v = new Vector2D(1, 2);
it("should create a vector", () => { it("should create a vector", () => {
@ -22,7 +22,7 @@ describe("Vector Tests", () => {
}); });
}); });
describe("Vector Tests", () => { describe("Rectangle Tests", () => {
const v1 = new Vector2D(1, 2); const v1 = new Vector2D(1, 2);
const v2 = new Vector2D(4, 6); const v2 = new Vector2D(4, 6);