public void LeqShouldReturnFalseWhenN1IsGreaterThanN2() { // Arrange Event e1 = new Event.Leaf(2); Event e2 = new Event.Leaf(1); // Act & Assert e1.Leq(e2).Should().BeFalse(); }
public void LeqShouldReturnTrueWhenN1EqualsN2() { // Arrange Event e1 = new Event.Leaf(1); Event e2 = new Event.Leaf(1); // Act & Assert e1.Leq(e2).Should().BeTrue(); }