def test_s_log_to_linear(self): """ Tests :func:`colour.models.log.s_log_to_linear` definition. """ self.assertAlmostEqual( s_log_to_linear(0.030001222851889303), 0, places=7) self.assertAlmostEqual( s_log_to_linear(0.35998784642215442), 0.18, places=7) self.assertAlmostEqual( s_log_to_linear(0.65352925122530825), 1, places=7)