public void CalculateChange_UserInputs9_Return1N4P() { Coins newCoins = new Coins(9); Dictionary <string, int> result = newCoins.CalculateChange(); Dictionary <string, int> expectedOutput = new Dictionary <string, int>() { { "N", 1 }, { "P", 4 } }; CollectionAssert.AreEqual(expectedOutput, result); }
public void CalculateChange_UserInputs50_Return2Quarters() { Coins newCoins = new Coins(50); Dictionary <string, int> result = newCoins.CalculateChange(); Dictionary <string, int> expectedOutput = new Dictionary <string, int>() { { "Q", 2 } }; CollectionAssert.AreEqual(expectedOutput, result); }