Пример #1
0
        public void ValidateFailTest()
        {
            //min > max
            MDPRangePercentage range = new MDPRangePercentage(85.0, 40.0);

            Assert.ThrowsException <ServiceException>(() => range.Validate());
        }
Пример #2
0
        public void ValidateSuccessTest()
        {
            MDPRangePercentage range = new MDPRangePercentage(35.0, 72.5);

            range.Validate();
        }