public void GetMaxPalindromeProduct_100To999_9009() { var expected = 906609; int actual = P004.GetMaxPalindromeProduct(100, 999); Assert.AreEqual(expected, actual); }
public void GetMidPoint_15_8() { var expected = 8; var actual = P004.GetMidPoint(15); Assert.AreEqual(expected, actual); }
public void IsPalindrome_1234_False() { var expected = false; var actual = P004.IsPalendrome(1234); Assert.AreEqual(expected, actual); }
public void GetMidPoint_14_7() { var expected = 7; var actual = P004.GetMidPoint(14); Assert.AreEqual(expected, actual); }
public void IsPalindrome_9009_True() { var expected = true; var actual = P004.IsPalendrome(9009); Assert.AreEqual(expected, actual); }