public void ensureContinuousDimensionIntervalHasValue() { ContinuousDimensionInterval instance = new ContinuousDimensionInterval(100.0, 200.0, 0.1); Assert.True(instance.hasValue(125.6)); }
public void ensureContinuousDimensionIntervalDoesNotHaveValueGreaterThanMaxValue() { ContinuousDimensionInterval instance = new ContinuousDimensionInterval(100.0, 200.0, 1.0); Assert.False(instance.hasValue(200.1)); }
public void ensureContinuousDimensionIntervalDoesNotHaveValueNotMultipleOfIncrement() { ContinuousDimensionInterval instance = new ContinuousDimensionInterval(100.0, 200.0, 1.0); Assert.False(instance.hasValue(125.6)); }
public void ensureContinuousDimensionIntervalDoesNotHaveValueLessThanMinValue() { ContinuousDimensionInterval instance = new ContinuousDimensionInterval(100.0, 200.0, 1.0); Assert.False(instance.hasValue(99.9)); }