def test_linear_to_alexa_log_c(self): """ Tests :func:`colour.models.log.linear_to_alexa_log_c` definition. """ self.assertAlmostEqual( linear_to_alexa_log_c(0), 0.092809, places=7) self.assertAlmostEqual( linear_to_alexa_log_c(0.18), 0.39100683203408376, places=7) self.assertAlmostEqual( linear_to_alexa_log_c(1), 0.57063155812041733, places=7)