feat: initial commit
This commit is contained in:
6
test/Circle.test.ts
Normal file
6
test/Circle.test.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import Circle from "../src/Circle"
|
||||
|
||||
test("should calculate the area of circle", function () {
|
||||
const circle = new Circle(2);
|
||||
expect(circle.getArea()).toBe(12.566370614359172);
|
||||
});
|
Reference in New Issue
Block a user