예제 #1
0
        public void NotEquals()
        {
            SqlDouble Test1  = new SqlDouble(1280000000001);
            SqlDouble Test2  = new SqlDouble(128e10);
            SqlDouble Test22 = new SqlDouble(128e10);

            Assert.IsTrue(SqlDouble.NotEquals(Test1, Test2).Value, "#K01");
            Assert.IsTrue(SqlDouble.NotEquals(Test2, Test1).Value, "#K02");
            Assert.IsTrue(SqlDouble.NotEquals(Test22, Test1).Value, "#K03");
            Assert.IsTrue(!SqlDouble.NotEquals(Test22, Test2).Value, "#K04");
            Assert.IsTrue(!SqlDouble.NotEquals(Test2, Test22).Value, "#K05");
            Assert.IsTrue(SqlDouble.NotEquals(SqlDouble.Null, Test22).IsNull, "#K06");
            Assert.IsTrue(SqlDouble.NotEquals(SqlDouble.Null, Test22).IsNull, "#K07");
        }
예제 #2
0
        public void NotEquals()
        {
            SqlDouble Test1  = new SqlDouble(1280000000001);
            SqlDouble Test2  = new SqlDouble(128e10);
            SqlDouble Test22 = new SqlDouble(128e10);

            Assert.True(SqlDouble.NotEquals(Test1, Test2).Value);
            Assert.True(SqlDouble.NotEquals(Test2, Test1).Value);
            Assert.True(SqlDouble.NotEquals(Test22, Test1).Value);
            Assert.True(!SqlDouble.NotEquals(Test22, Test2).Value);
            Assert.True(!SqlDouble.NotEquals(Test2, Test22).Value);
            Assert.True(SqlDouble.NotEquals(SqlDouble.Null, Test22).IsNull);
            Assert.True(SqlDouble.NotEquals(SqlDouble.Null, Test22).IsNull);
        }
예제 #3
0
        public void NotEquals()
        {
            SqlDouble test1  = new SqlDouble(1280000000001);
            SqlDouble test2  = new SqlDouble(128e10);
            SqlDouble test22 = new SqlDouble(128e10);

            Assert.True(SqlDouble.NotEquals(test1, test2).Value);
            Assert.True(SqlDouble.NotEquals(test2, test1).Value);
            Assert.True(SqlDouble.NotEquals(test22, test1).Value);
            Assert.False(SqlDouble.NotEquals(test22, test2).Value);
            Assert.False(SqlDouble.NotEquals(test2, test22).Value);
            Assert.True(SqlDouble.NotEquals(SqlDouble.Null, test22).IsNull);
            Assert.True(SqlDouble.NotEquals(SqlDouble.Null, test22).IsNull);
        }