public void LongUtils_Add3Test() { long?long1 = default(long?); long?long2 = 1L; long?result = LongUtils.Add(long1, long2); Assert.IsNotNull(result); Assert.AreEqual(1, result); Assert.AreEqual(1L, result); }
public void LongUtils_Add1Test() { long?long1 = 1L; long?long2 = 1L; long?result = LongUtils.Add(long1, long2); Assert.IsNotNull(result); Assert.AreEqual(2, result); Assert.AreEqual(2L, result); }
public void LongUtils_Add5Test() { long?long1 = 1L; long?long2 = 1L; long?long3 = default(long?); long?result = LongUtils.Add(long1, long2, long3); Assert.IsNotNull(result); Assert.AreEqual(2, result); Assert.AreEqual(2L, result); }
public void LongUtils_Add6Test() { long?long1 = 1L; long?long2 = 1L; long?long3 = 1L; long?long4 = 1L; long?result = LongUtils.Add(long1, long2, long3, long4); Assert.IsNotNull(result); Assert.AreEqual(4, result); Assert.AreEqual(4L, result); }
public void LongUtils_Add4Test() { long?long1 = 1L; long?long2 = 1L; long?long3 = 1L; long?result = LongUtils.Add(long1, long2, long3); Assert.IsNotNull(result); Assert.AreEqual(3, result); Assert.AreEqual(3L, result); }