public void Lessers() { SqlInt64 Test10 = new SqlInt64(10); SqlInt64 Test10II = new SqlInt64(10); SqlInt64 Test110 = new SqlInt64(110); // LessThan() Assert.IsTrue(SqlInt64.LessThan(Test10, Test110).Value, "#L01"); Assert.IsTrue(!SqlInt64.LessThan(Test110, Test10).Value, "#L02"); Assert.IsTrue(!SqlInt64.LessThan(Test10II, Test10).Value, "#L03"); // LessThanOrEqual () Assert.IsTrue(SqlInt64.LessThanOrEqual(Test10, Test110).Value, "#L04"); Assert.IsTrue(!SqlInt64.LessThanOrEqual(Test110, Test10).Value, "#L05"); Assert.IsTrue(SqlInt64.LessThanOrEqual(Test10II, Test10).Value, "#L06"); Assert.IsTrue(SqlInt64.LessThanOrEqual(Test10II, SqlInt64.Null).IsNull, "#L07"); }
public void Lessers() { SqlInt64 test10 = new SqlInt64(10); SqlInt64 test10II = new SqlInt64(10); SqlInt64 test110 = new SqlInt64(110); // LessThan() Assert.True(SqlInt64.LessThan(test10, test110).Value); Assert.False(SqlInt64.LessThan(test110, test10).Value); Assert.False(SqlInt64.LessThan(test10II, test10).Value); // LessThanOrEqual () Assert.True(SqlInt64.LessThanOrEqual(test10, test110).Value); Assert.False(SqlInt64.LessThanOrEqual(test110, test10).Value); Assert.True(SqlInt64.LessThanOrEqual(test10II, test10).Value); Assert.True(SqlInt64.LessThanOrEqual(test10II, SqlInt64.Null).IsNull); }