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