Beispiel #1
0
        public void FindNonConstructableChange_StartingAtOne_WillReturnMinimumChange(int[] coins, int expexted)
        {
            var change = NonConstructibleChange.FindNonConstructibleChange(coins);

            Assert.That(change, Is.EqualTo(expexted));
        }
Beispiel #2
0
        public void FindNonConstructibleChange_StartingAmountGreaterThanOne_WillReturnOne(int[] coins, int expexted)
        {
            var change = NonConstructibleChange.FindNonConstructibleChange(coins);

            Assert.That(change, Is.EqualTo(expexted));
        }