Example #1
0
 def test24_DoTransform2WithMaximalAllowedInput(self):
     cmyk = cms.cmsDoTransform2(self.transform, 1, 1, 1)
     self.assertEqual(0, cmyk[0])
     self.assertEqual(0, cmyk[1])
     self.assertEqual(0, cmyk[2])
     self.assertEqual(0, cmyk[3])
Example #2
0
 def test25_DoTransform2WithIntermediateInput(self):
     cmyk = cms.cmsDoTransform2(self.transform, 0.392, 0.745, 0.588)
     self.assertNotEqual(0, cmyk[0])
     self.assertNotEqual(0, cmyk[1])
     self.assertNotEqual(0, cmyk[2])
     self.assertNotEqual(0, cmyk[3])
Example #3
0
 def test23_DoTransform2WithNullInput(self):
     cmyk = cms.cmsDoTransform2(self.transform, 0, 0, 0)
     self.assertNotEqual(0, cmyk[0])
     self.assertNotEqual(0, cmyk[1])
     self.assertNotEqual(0, cmyk[2])
     self.assertNotEqual(0, cmyk[3])