public void calculateCoverageRating_CorrectRatingValue() { double coverage = 46.88; int expectedRating = 1; CoverageDetector cd = new CoverageDetector(); int actual = cd.calculateCoverageRating(coverage); Assert.AreEqual(expectedRating, actual); }