test: add missing storage and notification tests

Closes #31
This commit is contained in:
Jovan Krunić
2020-10-23 11:27:59 +02:00
committed by Rainer Killinger
parent fe7dd09d7e
commit 5eefa3c2e1
11 changed files with 2118 additions and 10 deletions

View File

@@ -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;
});
});
});