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')
Exemplo n.º 6
0
 def test_shadersSetToScanlineReturnsScanlines(self):
     fbaConf = fba2xConfig.createFBAConfig(fba2x43)
     self.assertEquals(fbaConf['DisplayEffect'], '1')
 def test_ratio43ReturnsMaintainAspect1(self):
     fbaConf = fba2xConfig.createFBAConfig(fba2x43)
     self.assertEquals(fbaConf['MaintainAspectRatio'], '1')
Exemplo n.º 8
0
 def test_shadersOffNoScanlines(self):
     fbaConf = fba2xConfig.createFBAConfig(fba2xNormal)
     self.assertEquals(fbaConf['DisplayEffect'], '0')
Exemplo n.º 9
0
 def test_SmoothOffReturnsDisplaySmoothStretch0(self):
     fbaConf = fba2xConfig.createFBAConfig(fba2x43)
     self.assertEquals(fbaConf['DisplaySmoothStretch'], '0')
Exemplo n.º 10
0
 def test_SmoothReturnsDisplaySmoothStretch(self):
     fbaConf = fba2xConfig.createFBAConfig(fba2xNormal)
     self.assertEquals(fbaConf['DisplaySmoothStretch'], '1')
Exemplo n.º 11
0
 def test_ratio169ReturnsMaintainAspect0(self):
     fbaConf = fba2xConfig.createFBAConfig(fba2x169)
     self.assertEquals(fbaConf['MaintainAspectRatio'], '0')
Exemplo n.º 12
0
 def test_ratio43ReturnsMaintainAspect1(self):
     fbaConf = fba2xConfig.createFBAConfig(fba2x43)
     self.assertEquals(fbaConf['MaintainAspectRatio'], '1')