def test_20(self): self.assertEqual(int_to_str(20), "20")
def test_negative(self): self.assertEqual(int_to_str(-20), "-20")
def test_datatype(self): self.assertTrue(isinstance(int_to_str(20), str))
def test_negative_1000(self): self.assertEqual(int_to_str(-1000), "-1000")
def test_invalid_type(self): with self.assertRaises(Exception): int_to_str("20")
def test_0(self): self.assertEqual(int_to_str(0), "0")
def test_1000000(self): self.assertEqual(int_to_str(1000000), "1000000")
def test_5(self): self.assertEqual(int_to_str(5), "5")
def test_3(self): self.assertEqual(int_to_str(3), "3")
def test_5000(self): self.assertEqual(int_to_str(5000), "5000")