public void ChangeTest() { var s = new Solution(); int amount, expected; int[] coins; amount = 5; coins = new int[] { 1, 2, 5 }; expected = 4; Assert.Equal(expected, s.Change(amount, coins)); amount = 3; coins = new int[] { 2 }; expected = 0; Assert.Equal(expected, s.Change(amount, coins)); amount = 10; coins = new int[] { 10 }; expected = 1; Assert.Equal(expected, s.Change(amount, coins)); }