public int ConvertLevelSubsToTotal_FromPositiveTestCases_ReturnsCorrectFact(IPerkScheme perkScheme, int primaryLevel, int subLevel) { // ACT var factTotal = PerkHelper.ConvertLevelSubsToTotal(perkScheme, primaryLevel, subLevel); // ASSERT return(factTotal); }
public void ConvertLevelSubsToTotal_FromExceptionTestCases_ThrowsException(IPerkScheme perkScheme, int primaryLevel, int subLevel) { // ACT Action act = () => { PerkHelper.ConvertLevelSubsToTotal(perkScheme, primaryLevel, subLevel); }; act.Should().Throw <Exception>(); }