def test_shadersSetToScanlineReturnsScanlines(self): fbaConf = fba2xConfig.createFBAConfig(fba2x43) self.assertEquals(fbaConf['DisplayEffect'], '1')
def test_SmoothOffReturnsDisplaySmoothStretch0(self): fbaConf = fba2xConfig.createFBAConfig(fba2x43) self.assertEquals(fbaConf['DisplaySmoothStretch'], '0')
def test_shadersOffNoScanlines(self): fbaConf = fba2xConfig.createFBAConfig(fba2xNormal) self.assertEquals(fbaConf['DisplayEffect'], '0')
def test_ratio169ReturnsMaintainAspect0(self): fbaConf = fba2xConfig.createFBAConfig(fba2x169) self.assertEquals(fbaConf['MaintainAspectRatio'], '0')
def test_SmoothReturnsDisplaySmoothStretch(self): fbaConf = fba2xConfig.createFBAConfig(fba2xNormal) self.assertEquals(fbaConf['DisplaySmoothStretch'], '1')
def test_ratio43ReturnsMaintainAspect1(self): fbaConf = fba2xConfig.createFBAConfig(fba2x43) self.assertEquals(fbaConf['MaintainAspectRatio'], '1')