Exemple #1
0
 def test_str(self):
     punto = Punto(1, 2)
     self.assertEqual(punto.__str__(), '(1, 2)')
Exemple #2
0
 def test_str_punto(self, x, y, string):
     punto = Punto(x, y)
     self.assertEqual(punto.__str__(), string)
Exemple #3
0
 def test_str_punto(self):
     punto = Punto(4, 5)
     self.assertEqual(punto.__str__(), "(4, 5")