public void MinMax_Outside_Zero_Negative() { var value = new Wokarol.MinMax(-15, 0); Assert.AreEqual(true, value.IsOutside(-20)); }
public void MinMax_Inside_Negative() { var value = new Wokarol.MinMax(-15, -10); Assert.AreEqual(true, value.IsInside(-12)); }
public void MinMax_Outside_Zero_Positive() { var value = new Wokarol.MinMax(0, 15); Assert.AreEqual(true, value.IsOutside(20)); }
public void MinMax_Inside_Positive() { var value = new Wokarol.MinMax(10, 15); Assert.AreEqual(true, value.IsInside(12)); }