public void test_v3_2147483648() { int i = -2147483648; var result = new reverse_integer().Reverse_V3(i); Assert.IsTrue(result == 0); }
public void test_v3_1534236469() { int i = 1534236469; var result = new reverse_integer().Reverse_V3(i); Assert.IsTrue(result == 0); }
public void test_v3_nagetive() { int i = -123; var result = new reverse_integer().Reverse_V3(i); Assert.IsTrue(result == -321); }
public void test_v3_120() { int i = 120; var result = new reverse_integer().Reverse_V3(i); Assert.IsTrue(result == 21); }
public void test1() { int i = 123; var result = new reverse_integer().Reverse(i); Assert.IsTrue(result == 321); }
public static void Main(string[] args) { palindrome_number palindromeNumber = new palindrome_number(); Console.WriteLine(palindromeNumber.IsPalindrome(-121)); reverse_integer reverseInteger = new reverse_integer(); Console.WriteLine(reverseInteger.Reverse(-121) == -121); }