def test_curve(self):
        # test colorspace
        curve_to_lut('sRGB', None, self.tmp_dir, '1D', 'csp')
        curve_to_lut('sRGB', None, self.tmp_dir, '1D', 'csp',
                     direction="decode")
        # test gamma
        curve_to_lut(None, 2.2, self.tmp_dir, '1D', 'csp')
        curve_to_lut(None, 2.2, self.tmp_dir, '1D', 'csp', direction="decode")

        # test AlexaLogC, processed input range
        curve_to_lut('AlexaLogCV3', None, self.tmp_dir, '1D', 'csp',
                     process_input_range=True)
Test curve to LUT
dataset/ETHPy150Open mikrosimage/ColorPipe-tools/test/curve_to_lut_test.py/CurveToLUTTest.test_curve