void () { Assert.assertEquals(0.0, PercentageCoverageColumnInfo.safeParseDouble(""), 0.01); Assert.assertEquals(1.0, PercentageCoverageColumnInfo.safeParseDouble("1.0"), 0.01); Assert.assertEquals(-1.0, PercentageCoverageColumnInfo.safeParseDouble("-1.0"), 0.01); Assert.assertEquals(1.0, PercentageCoverageColumnInfo.safeParseDouble("xx 1"), 0.01); Assert.assertEquals(12.0, PercentageCoverageColumnInfo.safeParseDouble("17 12.0"), 0.01); Assert.assertEquals(12.0, PercentageCoverageColumnInfo.safeParseDouble("17 12 xxx"), 0.01); }