public void WinningMultiplierDependsOnWinningProbability() { var rollCount = 2; var multipliers = new Dictionary <int, int> { { 2, 36 }, { 3, 18 }, { 4, 12 }, { 5, 9 }, { 6, 7 }, { 7, 6 }, { 8, 7 }, { 9, 9 }, { 10, 12 }, { 11, 18 }, { 12, 36 } }; foreach (var score in multipliers.Keys) { var multiplier = multipliers[score]; Assert.AreEqual(multiplier, Casino.GetMultiplier(score, rollCount)); } }