Ejemplo n.º 1
0
        public void ConvertTotalLevelToLevelSubs_FromTestCases_ReturnsCorrectLevelAndSublevel(IPerkScheme perkScheme,
                                                                                              int testedTotalLevel, int expectedLevel, int expectedSubLevel)
        {
            // ACT
            var isSuccess = PerkHelper.TryConvertTotalLevelToLevelSubs(perkScheme, testedTotalLevel, out var perkLevel);

            // ASSERT
            isSuccess.Should().BeTrue();
            perkLevel.Primary.Should().Be(expectedLevel);
            perkLevel.Sub.Should().Be(expectedSubLevel);
        }