public void IsAllowing_AboveTotalBelowThreshold_AllowsAndDoesntTrip() { TripTest.WithMetricsAt(2, 50).WithBreakerAt(1, 75).ShouldTrip(false).Run(); }
public void IsAllowing_AboveTotalAboveThreshold_RejectsAndTrips() { TripTest.WithMetricsAt(2, 50).WithBreakerAt(1, 25).ShouldTrip(true).Run(); }
public void IsAllowing_BelowTotalEqualThreshold_AllowsAndDoesntTrip() { TripTest.WithMetricsAt(2, 50).WithBreakerAt(3, 50).ShouldTrip(false).Run(); }