public void TestIsPrimeString(string inputString, bool expected) { var target = new PrimeString(); var actual = target.IsPrimeString(inputString); Assert.AreEqual(expected, actual); }
public void isPerminStringTest(string inputValue, bool isPrimeString) { // Arrange PrimeString primeStr = new PrimeString(); // Act bool result = primeStr.isPerminString(inputValue); // Assert Assert.AreEqual(isPrimeString, result); }