Beispiel #1
0
    def test_s_log3_to_linear(self):
        """
        Tests :func:`colour.models.log.s_log3_to_linear` definition.
        """

        self.assertAlmostEqual(
            s_log3_to_linear(0.09286412512218964),
            0,
            places=7)

        self.assertAlmostEqual(
            s_log3_to_linear(0.41055718475073316),
            0.18,
            places=7)

        self.assertAlmostEqual(
            s_log3_to_linear(0.59602734369012345),
            1,
            places=7)