Example #1
0
        public void NotEquals()
        {
            SqlInt16 Test12    = new SqlInt16(12);
            SqlInt16 Test128   = new SqlInt16(128);
            SqlInt16 Test128II = new SqlInt16(128);

            Assert.True(SqlInt16.NotEquals(Test12, Test128).Value);
            Assert.True(SqlInt16.NotEquals(Test128, Test12).Value);
            Assert.True(SqlInt16.NotEquals(Test128II, Test12).Value);
            Assert.True(!SqlInt16.NotEquals(Test128II, Test128).Value);
            Assert.True(!SqlInt16.NotEquals(Test128, Test128II).Value);
            Assert.True(SqlInt16.NotEquals(SqlInt16.Null, Test128II).IsNull);
            Assert.True(SqlInt16.NotEquals(SqlInt16.Null, Test128II).IsNull);
        }
Example #2
0
        public void NotEquals()
        {
            SqlInt16 Test12    = new SqlInt16(12);
            SqlInt16 Test128   = new SqlInt16(128);
            SqlInt16 Test128II = new SqlInt16(128);

            Assert.IsTrue(SqlInt16.NotEquals(Test12, Test128).Value, "Test#1");
            Assert.IsTrue(SqlInt16.NotEquals(Test128, Test12).Value, "Test#2");
            Assert.IsTrue(SqlInt16.NotEquals(Test128II, Test12).Value, "Test#3");
            Assert.IsTrue(!SqlInt16.NotEquals(Test128II, Test128).Value, "Test#4");
            Assert.IsTrue(!SqlInt16.NotEquals(Test128, Test128II).Value, "Test#5");
            Assert.IsTrue(SqlInt16.NotEquals(SqlInt16.Null, Test128II).IsNull, "Test#6");
            Assert.IsTrue(SqlInt16.NotEquals(SqlInt16.Null, Test128II).IsNull, "Test#7");
        }
Example #3
0
        public void NotEquals()
        {
            SqlInt16 test12    = new SqlInt16(12);
            SqlInt16 test128   = new SqlInt16(128);
            SqlInt16 test128II = new SqlInt16(128);

            Assert.True(SqlInt16.NotEquals(test12, test128).Value);
            Assert.True(SqlInt16.NotEquals(test128, test12).Value);
            Assert.True(SqlInt16.NotEquals(test128II, test12).Value);
            Assert.False(SqlInt16.NotEquals(test128II, test128).Value);
            Assert.False(SqlInt16.NotEquals(test128, test128II).Value);
            Assert.True(SqlInt16.NotEquals(SqlInt16.Null, test128II).IsNull);
            Assert.True(SqlInt16.NotEquals(SqlInt16.Null, test128II).IsNull);
        }