예제 #1
0
        public void ClampMax_ReturnsBoundedNumber()
        {
            //  arrange
            int number = 7;

            //  act
            int bounded = PMath.ClampMax(number, 5);

            //  assert
            Assert.AreEqual(5, bounded);
        }