def test_czy_kwadrat(self): p1 = Prostokat(3, 5) oczekiwana = p1.czy_kwadrat() self.assertFalse(oczekiwana) p2 = Prostokat(3, 3) self.assertTrue(p2.czy_kwadrat())
def test_czy_kwadrat(self): p1 = Prostokat(3, 5) self.assertFalse(p1.czy_kwadrat()) p2 = Prostokat(4, 4) self.assertTrue(p2.czy_kwadrat())