예제 #1
0
        public void TestIsPrimeString(string inputString, bool expected)
        {
            var target = new PrimeString();

            var actual = target.IsPrimeString(inputString);

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void isPerminStringTest(string inputValue, bool isPrimeString)
        {
            // Arrange
            PrimeString primeStr = new PrimeString();

            // Act
            bool result = primeStr.isPerminString(inputValue);

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