Esempio n. 1
0
        public void IsLessThanOrEqualDoubleShouldNotRaiseExceptionIfLessThanOrEqual()
        {
            var foo    = 5.0;
            var result = AssertArg.IsLessThanOrEqual(6.0, foo, nameof(foo));

            Assert.AreEqual(foo, result);
        }
Esempio n. 2
0
        public void IsLessThanOrEqualIntShouldNotRaiseExceptionIfEqual()
        {
            var foo    = 5;
            var result = AssertArg.IsLessThanOrEqual(5, foo, nameof(foo));

            Assert.AreEqual(foo, result);
        }