import { sqrt } from "../utils/number"; import { describe, it, expect } from "vitest"; describe("square root", () => { describe("sqrt()", () => { it("should return the square root of a number", () => { expect(sqrt(49)).toBe(7); expect(sqrt(81)).toBe(9); expect(sqrt(36)).toBe(6); }); }); });