import { isOdd } from '../isOdd';
describe('isOdd', function () {
  var result;
  describe('when provided with an odd number', function () {
    beforeEach(function () {
      result = isOdd(1);
    });
    it('should return true', function () {
      expect(result).toEqual(true);
    });
  });
  describe('when provided with an even number', function () {
    beforeEach(function () {
      result = isOdd(2);
    });
    it('should return false', function () {
      expect(result).toEqual(false);
    });
  });
});