Ejemplo n.º 1
0
        public void TestMethod2()
        {
            //Arrange
            var targetAmount = 2;
            int expected     = 73682;

            //Act
            var res = CoinSums.Solve(targetAmount);

            //Assert
            Assert.AreEqual(expected, res);
        }
Ejemplo n.º 2
0
        public void TestMethod1()
        {
            //Arrange
            var targetAmount = 0.2;
            int expected     = 41;

            //Act
            var res = CoinSums.Solve(0.2);

            //Assert
            Assert.AreEqual(expected, res);
        }