public void Hotspots_3CyclomaticComplexitiesNoOverLimit_NoHotspot() { var hotspots = CreateHotspotOf.CyclomaticComplexity(2, 4, 4); Assert.IsTrue(hotspots.Count() == 0); }
public void Hotspots_3CyclomaticComplexities1OverLimit_1Hotspot() { var hotspots = CreateHotspotOf.CyclomaticComplexity(2, 4, 5); Assert.IsTrue(hotspots.Count() == 1); }