MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / assertEqualRGBM

Function assertEqualRGBM

tests/python/UnitTestUtils.py:7–11  ·  view source on GitHub ↗
(testCase, first, second)

Source from the content-addressed store, hash-verified

5import PyOpenColorIO as OCIO
6
7def assertEqualRGBM(testCase, first, second):
8 testCase.assertEqual(first.red, second.red)
9 testCase.assertEqual(first.green, second.green)
10 testCase.assertEqual(first.blue, second.blue)
11 testCase.assertEqual(first.master, second.master)
12
13def assertEqualPrimary(testCase, first, second):
14 assertEqualRGBM(testCase, first.brightness, second.brightness)

Callers 5

test_rgbmMethod · 0.90
test_primaryMethod · 0.90
test_rgbmswMethod · 0.90
test_toneMethod · 0.90
assertEqualPrimaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected