예제 #1
0
        public static void Add_EmptyString_ReturnsZero()
        {
            // Act
            string result = StringCalculator.NumbersCalculator("");

            // Assert
            Assert.AreEqual(0, result);
        }
예제 #2
0
        public static void Mul_ReturnsNumber(string input, string expected)
        {
            // Act
            string result = StringCalculator.NumbersCalculator(input);

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