Files
wings88/tests/unit/example.test.js
T

21 lines
416 B
JavaScript

/**
* Example unit tests for the 3D Flight Simulator project
*/
describe('Math utilities', () => {
it('should add two numbers', () => {
const result = 2 + 3;
expect(result).toBe(5);
});
it('should subtract two numbers', () => {
const result = 5 - 2;
expect(result).toBe(3);
});
it('should multiply two numbers', () => {
const result = 3 * 4;
expect(result).toBe(12);
});
});