blob: 030a3e602e55d7d354b0f56966ad4a2605699f50 [file] [log] [blame]
import { add, subtract } from "./main";
import { expect } from "@esm-bundle/chai";
describe("main tests", () => {
it("subtracts two numbers", () => {
expect(subtract(3, 5)).to.equal(-2);
});
it("adds two numbers", () => {
expect(add(3, 5)).to.equal(8);
});
it("subtracts two number", () => {
expect(subtract(5, 3)).to.equal(2);
});
});