const sum = require('../sum');

test('adds 1 + 2 to equal 3', () => {
  expect(sum(1, 2)).toBe(3);
});

test('adds 1 + 4 to equal 5', () => {
  expect(sum(1, 4)).toBe(5);
});

test('adds 2 + 4 to equal 5', () => {
  expect(sum(2, 4)).toBe(6);
});

test('adds 2 + 6 to equal 8', () => {
  expect(sum(2, 6)).toBe(8);
});
