Compare commits

...

1 Commits

Author SHA1 Message Date
Austin Sullivan 5269a14e7e
Remove arrays from solution multiplication tests 2023-09-24 11:22:36 -04:00
1 changed files with 2 additions and 2 deletions

View File

@ -40,11 +40,11 @@ describe('sum', () => {
describe('multiply', () => {
test('multiplies two numbers', () => {
expect(calculator.multiply([2, 4])).toBe(8);
expect(calculator.multiply(2, 4)).toBe(8);
});
test('multiplies several numbers', () => {
expect(calculator.multiply([2, 4, 6, 8, 10, 12, 14])).toBe(645120);
expect(calculator.multiply(2, 4, 6, 8, 10, 12, 14)).toBe(645120);
});
});