Example #1
0
        public void MinMax_Outside_Zero_Negative()
        {
            var value = new Wokarol.MinMax(-15, 0);

            Assert.AreEqual(true, value.IsOutside(-20));
        }
Example #2
0
        public void MinMax_Inside_Negative()
        {
            var value = new Wokarol.MinMax(-15, -10);

            Assert.AreEqual(true, value.IsInside(-12));
        }
Example #3
0
        public void MinMax_Outside_Zero_Positive()
        {
            var value = new Wokarol.MinMax(0, 15);

            Assert.AreEqual(true, value.IsOutside(20));
        }
Example #4
0
        public void MinMax_Inside_Positive()
        {
            var value = new Wokarol.MinMax(10, 15);

            Assert.AreEqual(true, value.IsInside(12));
        }