Ejemplo n.º 1
0
        public void IntegerUtils_IsGreaterThan4Test()
        {
            int? int1   = new int?(1);
            int? int2   = null;
            bool?result = IntegerUtils.IsGreaterThan(int1, int2);

            Assert.AreEqual(null, result);
        }
Ejemplo n.º 2
0
        public void IntegerUtils_IsGreaterThan2Test()
        {
            int? int1   = new int?(1);
            int? int2   = new int?(1);
            bool?result = IntegerUtils.IsGreaterThan(int1, int2);

            Assert.IsNotNull(result);
            Assert.AreEqual(false, result);
            Assert.AreEqual("False", result.ToString());
        }