public void Clamp_ReturnClampedValue(int value, int min, int max)
 {
     _resultOfClamp = IntTools.Clamp(value, min, max);
     if ((_resultOfClamp >= min && _resultOfClamp <= max) || int.Equals(value, _resultOfClamp))
     {
         Assert.Pass();
     }
     else
     {
         Assert.Fail();
     }
 }
 public void Clamp_ReturnException()
 {
     Assert.Throws(Is.TypeOf <System.ArithmeticException>(), () => IntTools.Clamp(3, 5, 1));
 }