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

Function assertEqualTone

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

Source from the content-addressed store, hash-verified

34 testCase.assertEqual(first.width, second.width)
35
36def assertEqualTone(testCase, first, second):
37 assertEqualRGBMSW(testCase, first.blacks, second.blacks)
38 assertEqualRGBMSW(testCase, first.whites, second.whites)
39 assertEqualRGBMSW(testCase, first.shadows, second.shadows)
40 assertEqualRGBMSW(testCase, first.highlights, second.highlights)
41 assertEqualRGBMSW(testCase, first.midtones, second.midtones)
42 testCase.assertEqual(first.scontrast, second.scontrast)
43
44def assertEqualControlPoint(testCase, first, second):
45 testCase.assertEqual(first.x, second.x)

Callers 2

test_contructorMethod · 0.90
test_valuesMethod · 0.90

Calls 1

assertEqualRGBMSWFunction · 0.85

Tested by

no test coverage detected