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