Random tests are vulnerable to input modification.
Should work for random test cases - Expected: NaN, instead got: NaN
Please use Test.assertApproxEquals instead of rounding.
Test.assertApproxEquals
Also, missed opportunity on exactly 1 level of nesting in the array.
Loading collection data...
Random tests are vulnerable to input modification.
Should work for random test cases - Expected: NaN, instead got: NaN
Please use
Test.assertApproxEquals
instead of rounding.Also, missed opportunity on exactly 1 level of nesting in the array.