Helper method to build unit tests
| 18 | |
| 19 | // Helper method to build unit tests |
| 20 | OCIO::ExponentTransformRcPtr AddExponent(OCIO::TransformDirection direction, |
| 21 | const double(&gamma)[4], |
| 22 | OCIO::NegativeStyle style) |
| 23 | { |
| 24 | OCIO::ExponentTransformRcPtr exp = OCIO::ExponentTransform::Create(); |
| 25 | exp->setNegativeStyle(style); |
| 26 | exp->setDirection(direction); |
| 27 | exp->setValue(gamma); |
| 28 | |
| 29 | return exp; |
| 30 | } |
| 31 | |
| 32 | // Helper method to build unit tests |
| 33 | OCIO::ExponentWithLinearTransformRcPtr AddExponentWithLinear(OCIO::TransformDirection direction, |
no test coverage detected