def test_select(self, mock_input): g = Geometria(2.00, 3.10, 4.00) v = View() area = v.select(g) figura = g.figuraName self.assertEqual(figura, 'Cuadrado') self.assertEqual(area, 4.0)
from model.Geometria import Geometria from view.View import View # from Geometria_.model.Geometria import Geometria # from Geometria_.view.View import View if __name__ == '__main__': g = Geometria(2.00, 3.10, 4.00) v = View() v.select(g)