public StringPalindromeFinder()
 {
     _comparer = new StringPalindromeComparer();
 }
 public StringPalindromeFinder(IPalindromeComparer <string> comparer)
 {
     _comparer = comparer;
 }
Example #3
0
 public void TestInitialize()
 {
     _comparer     = new StringPalindromeComparer();
     _mockComparer = new Mock <IPalindromeComparer <string> >();
     _finder       = new StringPalindromeFinder(_mockComparer.Object);
 }