Add boundary checks for getReadyCount method.

This commit is contained in:
kialam
2018-11-30 12:03:26 -05:00
parent 746a154f2b
commit 3e1e068013

View File

@@ -83,7 +83,10 @@ describe('Output | StreamService', () => {
const params = [
[null, 1, 0],
[undefined, 1, NaN],
['1', 1, 1]
['1', 1, 1],
[-1, -3, 3],
[0, 0, 1],
[6, 5, 2]
];
params.forEach(([x, y, z]) => {