Example #1
0
        public void TestLessThanByte()
        {
            var a = Convert.ToByte("1");
            var b = Convert.ToByte("2");

            Assert.IsTrue(LessThanComparison.LessThan(a, b));
        }
Example #2
0
 public void TestLessThanIntNegative()
 {
     Assert.IsFalse(LessThanComparison.LessThan(2, 1));
 }
Example #3
0
 public void TestLessThanChar()
 {
     Assert.IsTrue(LessThanComparison.LessThan('g', 'h'));
 }
Example #4
0
 public void TestLessThanFloat()
 {
     Assert.IsTrue(LessThanComparison.LessThan(1289.00F, 1290.00F));
 }
Example #5
0
 public void TestLessThanDouble()
 {
     Assert.IsTrue(LessThanComparison.LessThan(1289.00, 1290.00));
 }
Example #6
0
 public void TestLessThanUInt64()
 {
     Assert.IsTrue(LessThanComparison.LessThan(ulong.MinValue, ulong.MaxValue));
 }
Example #7
0
 public void TestLessThanUInt32()
 {
     Assert.IsTrue(LessThanComparison.LessThan(uint.MinValue, uint.MaxValue));
 }
Example #8
0
 public void TestLessThanInt()
 {
     Assert.IsTrue(LessThanComparison.LessThan(1289, 1290));
 }