import { sum, isEven, reverse } from '../src/index';
import { test, expect } from 'vitest';

test('sum adds numbers', () => {
  expect(sum(2, 3)).toBe(5);
});

test('isEven detects even numbers', () => {
  expect(isEven(4)).toBe(true);
  expect(isEven(5)).toBe(false);
});

test('reverse reverses string', () => {
  expect(reverse('hello')).toBe('olleh');
});
