"use strict";
exports.__esModule = true;
var ava_1 = require("ava");
var src_1 = require("../src");
ava_1["default"]('isStartEndOptions() returns true for valid options.', function (t) {
    t.is(src_1.isStartEndOptions({ start: 2, end: 10 }), true, 'isStartEndOptions() should return true for valid options.');
    t.is(src_1.isStartEndOptions({ start: 2, end: 2 }), true, 'isStartEndOptions() should return true for valid options.');
});
ava_1["default"]('isStartEndOptions() returns false for invalid end option.', function (t) {
    t.is(src_1.isStartEndOptions({ start: 2, end: 1 }), false, 'isStartEndOptions() should return false if start > end');
});
ava_1["default"]('isStartEndOptions() returns false if threshold is reached.', function (t) {
    t.is(src_1.isStartEndOptions({ start: 0, end: 1001 }), false, 'isStartEndOptions() should return false if thresshold difference is reached.');
});
//# sourceMappingURL=isStartEndOptions.test.js.map