public void NotEquals()
        {
            SqlInt64 test12    = new SqlInt64(12);
            SqlInt64 test128   = new SqlInt64(128);
            SqlInt64 test128II = new SqlInt64(128);

            Assert.True(SqlInt64.NotEquals(test12, test128).Value);
            Assert.True(SqlInt64.NotEquals(test128, test12).Value);
            Assert.True(SqlInt64.NotEquals(test128II, test12).Value);
            Assert.False(SqlInt64.NotEquals(test128II, test128).Value);
            Assert.False(SqlInt64.NotEquals(test128, test128II).Value);
            Assert.True(SqlInt64.NotEquals(SqlInt64.Null, test128II).IsNull);
            Assert.True(SqlInt64.NotEquals(SqlInt64.Null, test128II).IsNull);
        }
Exemple #2
0
        public void NotEquals()
        {
            SqlInt64 Test12    = new SqlInt64(12);
            SqlInt64 Test128   = new SqlInt64(128);
            SqlInt64 Test128II = new SqlInt64(128);

            Assert.IsTrue(SqlInt64.NotEquals(Test12, Test128).Value, "#M01");
            Assert.IsTrue(SqlInt64.NotEquals(Test128, Test12).Value, "#M02");
            Assert.IsTrue(SqlInt64.NotEquals(Test128II, Test12).Value, "#M03");
            Assert.IsTrue(!SqlInt64.NotEquals(Test128II, Test128).Value, "#M04");
            Assert.IsTrue(!SqlInt64.NotEquals(Test128, Test128II).Value, "#M05");
            Assert.IsTrue(SqlInt64.NotEquals(SqlInt64.Null, Test128II).IsNull, "#M06");
            Assert.IsTrue(SqlInt64.NotEquals(SqlInt64.Null, Test128II).IsNull, "#M07");
        }
        public void NotEquals()
        {
            SqlInt64 Test12    = new SqlInt64(12);
            SqlInt64 Test128   = new SqlInt64(128);
            SqlInt64 Test128II = new SqlInt64(128);

            Assert.True(SqlInt64.NotEquals(Test12, Test128).Value);
            Assert.True(SqlInt64.NotEquals(Test128, Test12).Value);
            Assert.True(SqlInt64.NotEquals(Test128II, Test12).Value);
            Assert.True(!SqlInt64.NotEquals(Test128II, Test128).Value);
            Assert.True(!SqlInt64.NotEquals(Test128, Test128II).Value);
            Assert.True(SqlInt64.NotEquals(SqlInt64.Null, Test128II).IsNull);
            Assert.True(SqlInt64.NotEquals(SqlInt64.Null, Test128II).IsNull);
        }