Exemple #1
0
def test_rotatable_base_sprite():
    test_sprite = BaseSprite()

    test_sprite.rotate(1)
    assert test_sprite.rotation == 1
Exemple #2
0
 def setUp(self):
     self.sprite = BaseSprite()
     self.wide_sprite = BaseSprite(size=2, pos=(2, 2))
def test_rotatable_base_sprite():
    test_sprite = BaseSprite()

    test_sprite.rotate(1)
    assert test_sprite.rotation == 1