def test_write_config_to_file_shaders(self): retroconf = libretroConfig.createLibretroConfig(nes43) libretroConfig.writeLibretroConfigToFile(retroconf) self.assertEquals(libretroSettings.load('rewind_enable'), 'false') self.assertEquals(libretroSettings.load('video_shader'), 'myshaders.gpslp') self.assertEquals(libretroSettings.load('video_shader_enable'), 'true') self.assertEquals(libretroSettings.load('aspect_ratio_index'), '0') self.assertEquals(libretroSettings.load('video_aspect_ratio_auto'), 'false')
def test_write_config_to_file_new1610(self): retroconf = libretroConfig.createLibretroConfig(wswan) libretroConfig.writeLibretroConfigToFile(retroconf) self.assertEquals(libretroSettings.load('aspect_ratio_index'), '2') self.assertEquals(libretroSettings.load('video_aspect_ratio_auto'), 'false')
def test_write_config_to_file(self): retroconf = libretroConfig.createLibretroConfig(nesauto) libretroConfig.writeLibretroConfigToFile(retroconf) self.assertEquals(libretroSettings.load('rewind_enable'), 'true')