CS2613/labs/L09/spec/builtins.spec.js

11 lines
310 B
JavaScript
Raw Permalink Normal View History

2022-10-12 09:04:35 -03:00
describe("identity",
function() {
it("1 === 1", function() { expect(1).toBe(1); });
it("null === null", function() { expect(null).toBe(null); })
});
describe("arithmetic",
function() {
it("1 + 1 === 2", function() { expect(1 + 1).toBe(2); });
it("6 * 7 === 42", function() { expect(6*7).toBe(42); });
});