mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
committed by
Rainer Killinger
parent
fe7dd09d7e
commit
5eefa3c2e1
@@ -22,10 +22,12 @@ describe('Common', function () {
|
||||
expect(inRangeInclusive(1, [1,3])).to.be.true;
|
||||
expect(inRangeInclusive(2, [1,3])).to.be.true;
|
||||
expect(inRangeInclusive(1.1, [1,3])).to.be.true;
|
||||
expect(inRangeInclusive(3, [1, 3])).to.be.true;
|
||||
});
|
||||
|
||||
it('should provide false if the given number is not in the range', function () {
|
||||
expect(inRangeInclusive(3.1, [1,3])).to.be.false;
|
||||
expect(inRangeInclusive(0, [1, 3])).to.be.false;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user