Beispiel #1
0
        public void LongUtils_Multiply3Test()
        {
            long?long1  = 1L;
            long?long2  = default(long?);
            long?result = LongUtils.Multiply(long1, long2);

            Assert.AreEqual(null, result);
        }
Beispiel #2
0
        public void LongUtils_Multiply1Test()
        {
            long?long1  = 1L;
            long?long2  = 1L;
            long?result = LongUtils.Multiply(long1, long2);

            Assert.IsNotNull(result);
            Assert.AreEqual(1, result);
            Assert.AreEqual(1L, result);
        }