Пример #1
0
        public void LeqShouldReturnFalseWhenN1IsGreaterThanN2()
        {
            // Arrange
            Event e1 = new Event.Leaf(2);
            Event e2 = new Event.Leaf(1);

            // Act & Assert
            e1.Leq(e2).Should().BeFalse();
        }
Пример #2
0
        public void LeqShouldReturnTrueWhenN1EqualsN2()
        {
            // Arrange
            Event e1 = new Event.Leaf(1);
            Event e2 = new Event.Leaf(1);

            // Act & Assert
            e1.Leq(e2).Should().BeTrue();
        }