LCOV - code coverage report
Current view: top level - randomjs/utils - toInteger.ts (source / functions) Hit Total Coverage
Test: coverage.lcov Lines: 0 8 0.0 %
Date: 2021-03-12 10:43:40 Functions: 0 1 0.0 %

          Line data    Source code
       1           0 : export function toInteger(value: number) {
       2           0 :   const num = +value;
       3           0 :   if (num < 0) {
       4           0 :     return Math.ceil(num);
       5           0 :   } else {
       6           0 :     return Math.floor(num);
       7           0 :   }
       8           0 : }

Generated by: LCOV version 1.15