Exemplo n.º 1
0
        public static void TestPalindrome4()
        {
            var s = "AAAAAAAAAA";

            Assert.That(PalindromesManacher.LongestPalindromes(s), Is.EqualTo(new Range(0, 10)));
        }
Exemplo n.º 2
0
 public static void TestPalindrome3()
 {
     Assert.Throws <ArgumentNullException>(() => PalindromesManacher.LongestPalindromes(null));
 }