public void PercentThresholdHandlesMaxThresholdsProperly() { PercentThreshold t = new PercentThreshold(-1.0); Assert.Equal(0.0, t.Transition, 1); t = new PercentThreshold(101.0); Assert.Equal(100.0, t.Transition, 1); }
public void PercentThresholdConstructsProperly() { PercentThreshold t = new PercentThreshold(80.0); Assert.Equal(80.0, t.Transition, 1); }