Exemplo n.º 1
0
        public void Given_instances_with_the_same_KeyCode_When_CompareTo_is_called_Then_result_should_be_0()
        {
            // Arrange.
            Enumeration enumeration      = EmployeeType.Permanent;
            Enumeration otherEnumeration = EmployeeType.Permanent;

            // Act.
            int result = enumeration.CompareTo(otherEnumeration);

            // Assert.
            result.Should().Be(0);
        }