public void TestLessThanOrEqualToByte()
        {
            var a = Convert.ToByte("1");
            var b = Convert.ToByte("2");
            var c = Convert.ToByte("1");

            Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo(a, b));
            Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo(a, c));
        }
 public void TestLessThanOrEqualToIntNegative()
 {
     Assert.IsFalse(LessThanOrEqualToComparison.LessThanOrEqualTo(2, 1));
 }
 public void TestLessThanOrEqualToChar()
 {
     Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo('h', 'h'));
     Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo('g', 'h'));
 }
 public void TestLessThanOrEqualToFloat()
 {
     Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo(1289.00F, 1290.00F));
     Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo(1289.00F, 1289.00F));
 }
 public void TestLessThanOrEqualToDouble()
 {
     Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo(1289.00, 1290.00));
     Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo(1289.00, 1289.00));
 }
 public void TestLessThanOrEqualToUInt64()
 {
     Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo(ulong.MaxValue, ulong.MaxValue));
     Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo(ulong.MinValue, ulong.MaxValue));
 }
 public void TestLessThanOrEqualToInt()
 {
     Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo(1289, 1290));
     Assert.IsTrue(LessThanOrEqualToComparison.LessThanOrEqualTo(1289, 1289));
 }