fix 2 typos inside test_module.py (#4)
This commit is contained in:
parent
23c6841fda
commit
c1b30742b7
@ -57,7 +57,7 @@ class UnitTests(unittest.TestCase):
|
||||
expected = 7.0710678118654755
|
||||
self.assertEqual(actual, expected, 'Expected diagonal of square to be 7.0710678118654755')
|
||||
|
||||
def test_set_atributes(self):
|
||||
def test_set_attributes(self):
|
||||
self.rect.set_width(7)
|
||||
self.rect.set_height(8)
|
||||
self.sq.set_side(2)
|
||||
@ -79,7 +79,7 @@ class UnitTests(unittest.TestCase):
|
||||
expected = "*******\n*******\n*******\n"
|
||||
self.assertEqual(actual, expected, 'Expected rectangle picture to be different.')
|
||||
|
||||
def test_squaree_picture(self):
|
||||
def test_square_picture(self):
|
||||
self.sq.set_side(2)
|
||||
actual = self.sq.get_picture()
|
||||
expected = "**\n**\n"
|
||||
|
Loading…
Reference in New Issue
Block a user