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

        self.assertAlmostEqual(
            panalog_to_linear(0.062561094819159335),
            0,
            places=7)

        self.assertAlmostEqual(
            panalog_to_linear(0.37457679138229816),
            0.18,
            places=7)

        self.assertAlmostEqual(
            panalog_to_linear(0.66568914956011727),
            1,
            places=7)