static void Main(string[] args) { while (true) { Console.WriteLine("input str"); string inpStr = Console.ReadLine(); StringChecker checker = new StringChecker(); Console.WriteLine("longest sub palindrome is " + checker.LongestPalindrome(inpStr)); Console.ReadLine(); } }
public void SetUp() { prg = new StringChecker(); myMock = new Mock <StringChecker>(); }