2024-04-26 15:43:27 +02:00

8 lines
181 B
JavaScript

import { expect, it } from 'vitest'
import { multiply } from '../src/math'
it('2 x 2 = 4', () => {
expect(multiply(2, 2)).toBe(4)
expect(multiply(2, 2)).toBe(Math.sqrt(16))
})