public void ShouldBeLessOrEqual(IComparable arg1, IComparable arg2) { Assert.IsTrue(ComparisonOperator.Compare(ComparisonOperatorTypes.LessOrEqual, arg2, arg1)); Assert.IsTrue(ComparisonOperatorTypes.LessOrEqual.Compare(arg2, arg1)); }
public void ShouldBeGreaterOrEqual(IComparable arg1, IComparable arg2) { Assert.IsTrue(ComparisonOperator.Compare(ComparisonOperatorTypes.GreaterOrEqual, arg1, arg2)); Assert.IsTrue(ComparisonOperatorTypes.GreaterOrEqual.Compare(arg1, arg2)); }
public void ShouldBLess(IComparable arg1, IComparable arg2) { Assert.IsTrue(ComparisonOperator.Compare(ComparisonOperatorTypes.Less, arg2, arg1)); Assert.IsTrue(ComparisonOperatorTypes.Less.Compare(arg2, arg1)); }
public void ShouldBeEqual(IComparable arg1, IComparable arg2) { Assert.IsTrue(ComparisonOperator.Compare(ComparisonOperatorTypes.Equals, arg1, arg2)); Assert.IsTrue(ComparisonOperatorTypes.Equals.Compare(arg1, arg2)); }