예제 #1
0
            public void Test11()
            {
                // Arrange
                var nFabric  = 11;
                var nButtons = 20;

                // Act
                var(nShirts, nTotes) = new Solution3().Solve(nFabric, nButtons);

                // Assert
                Assert.AreEqual(1, nShirts);
                Assert.AreEqual(5, nTotes);
            }
예제 #2
0
            public void Test22()
            {
                // Arrange
                var nFabric  = 29;
                var nButtons = 33;

                // Act
                var(nShirts, nTotes) = new Solution3().Solve2(nFabric, nButtons);

                // Assert
                Assert.AreEqual(1, nShirts);
                Assert.AreEqual(14, nTotes);
            }