コード例 #1
0
 public static void assertWays(int expected, int cents)
 {
     Assert.AreEqual(expected, CountCoins.waysForCents(cents));
 }
コード例 #2
0
    public void acceptance_test()
    {
        int ways = CountCoins.waysForCents(15);

        Assert.AreEqual(6, ways);
    }