def test_system_retrieval(self): s = Scene(None) sys = System() s.add_system(sys) self.assertTrue(s.get_system("System") is sys)
def test_controller_registration(self): s = Scene(None) c = Controller(s) s.add_system(c) self.assertTrue(c.scene is s) self.assertTrue(c is s.get_system('Controller'))