public void shold_mark_value_as_good() { var result = new CyclomaticComplexityQualityAssessor().Assess(8); result.ShouldBe(QualityLevel.Good); }
public void shold_mark_value_as_poor() { var result = new CyclomaticComplexityQualityAssessor().Assess(17); result.ShouldBe(QualityLevel.Poor); }
public void shold_mark_value_as_average() { var result = new CyclomaticComplexityQualityAssessor().Assess(12); result.ShouldBe(QualityLevel.Average); }