示例#1
0
    def test_aces_cc_to_linear(self):
        """
        Tests :func:`colour.models.log.aces_cc_to_linear` definition.
        """

        self.assertAlmostEqual(
            aces_cc_to_linear(0),
            0.0011857371917920374,
            places=7)

        self.assertAlmostEqual(
            aces_cc_to_linear(0.41358840249244228),
            0.18,
            places=7)

        self.assertAlmostEqual(
            aces_cc_to_linear(0.5547945205479452),
            1,
            places=7)