def setup_class(cls):
     print ("Creando una ventana SFML")
     global window
     global tex
     window = sfml.RenderWindow(sfml.VideoMode(320, 240),
                                "Test_spritefactory")
     tex = media.loadimg("uniteststuff/test.png", False)
示例#2
0
 def test_fail_loadimg(self):
     tex2 = media.loadimg("uniteststuff/sound.flac")