Esempio n. 1
0
 def test_scale(self):
     background = Background((50, 60))
     background.scale((5.5, 2.3))
     assert background.size() == (50 * 5.5, 60 * 2.3)
Esempio n. 2
0
 def test_size(self):
     background = Background((50, 60))
     assert background.size() == (50, 60)