public void TestLessThanByte() { var a = Convert.ToByte("1"); var b = Convert.ToByte("2"); Assert.IsTrue(LessThanComparison.LessThan(a, b)); }
public void ComparisonsA(LessThanComparison test) { Assume.That(test.A, Is.Not.Null); Assert.That(test.A, Is.LessThan(test.B)); Assert.That(test.A, Is.Not.EqualTo(test.B)); }
public void ComparisonsB(LessThanComparison test) { Assume.That(test.B, Is.Not.Null); Assert.That(test.B, Is.GreaterThan(test.A)); Assert.That(test.B, Is.Not.EqualTo(test.A)); }
public void TestLessThanIntNegative() { Assert.IsFalse(LessThanComparison.LessThan(2, 1)); }
public void TestLessThanChar() { Assert.IsTrue(LessThanComparison.LessThan('g', 'h')); }
public void TestLessThanDouble() { Assert.IsTrue(LessThanComparison.LessThan(1289.00, 1290.00)); }
public void TestLessThanFloat() { Assert.IsTrue(LessThanComparison.LessThan(1289.00F, 1290.00F)); }
public void TestLessThanUInt64() { Assert.IsTrue(LessThanComparison.LessThan(ulong.MinValue, ulong.MaxValue)); }
public void TestLessThanUInt32() { Assert.IsTrue(LessThanComparison.LessThan(uint.MinValue, uint.MaxValue)); }
public void TestLessThanInt() { Assert.IsTrue(LessThanComparison.LessThan(1289, 1290)); }