コード例 #1
0
        public void NullUtils_GetNullOrInt64_Value_Success()
        {
            Int64?value = 5L;

            Assert.AreEqual(5L, NullUtils.GetNullOrInt64(value),
                            "GetNullOrInt64(value) did not return the expected value");
        }
コード例 #2
0
        public void NullUtils_GetNullOrInt64_Null_Success()
        {
            Int64?value = null;

            Assert.IsNull(NullUtils.GetNullOrInt64(value), "GetNullOrInt64(null) should have returned null");
        }