Remove arrays from solution multiplication tests
This commit is contained in:
parent
406b1667aa
commit
5269a14e7e
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue