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