def test_tonemapping_operator_exponentiation_mapping(self): """ Tests :func:`colour_hdri.tonemapping.global_operators.operators.\ tonemapping_operator_exponentiation_mapping` definition. """ np.testing.assert_almost_equal( tonemapping_operator_exponentiation_mapping( np.array([[[0.48046875, 0.35156256, 0.23632812], [1.39843753, 0.55468757, 0.39062594]], [[4.40625388, 2.15625895, 1.34375372], [6.59375023, 3.43751395, 2.21875829]]]), 0.5, 2.0), np.array([[[0.71427273, 0.52263867, 0.35132926], [1.26051891, 0.49998241, 0.35210109]], [[1.5303143, 0.74887966, 0.46669247], [1.63996382, 0.85496088, 0.55183821]]]), decimal=7)
def test_tonemapping_operator_exponentiation_mapping(self): """ Tests :func:`colour_hdri.tonemapping.global_operators.operators.\ tonemapping_operator_exponentiation_mapping` definition. """ np.testing.assert_almost_equal( tonemapping_operator_exponentiation_mapping( np.array([[[0.48046875, 0.35156256, 0.23632812], [1.39843753, 0.55468757, 0.39062594]], [[4.40625388, 2.15625895, 1.34375372], [6.59375023, 3.43751395, 2.21875829]]]), 0.5, 2.0), np.array([[[0.71427077, 0.52263724, 0.3513283], [1.2605181, 0.49998209, 0.35210087]], [[1.53031135, 0.74887822, 0.46669158], [1.63996061, 0.85495921, 0.55183713]]]), decimal=7)
def test_tonemapping_operator_exponentiation_mapping(self): """ Tests :func:`colour_hdri.tonemapping.global_operators.operators.\ tonemapping_operator_exponentiation_mapping` definition. """ np.testing.assert_almost_equal( tonemapping_operator_exponentiation_mapping( np.array( [[[0.48046875, 0.35156256, 0.23632812], [1.39843753, 0.55468757, 0.39062594]], [[4.40625388, 2.15625895, 1.34375372], [6.59375023, 3.43751395, 2.21875829]]]), 0.5, 2.0), np.array( [[[0.71427273, 0.52263867, 0.35132926], [1.26051891, 0.49998241, 0.35210109]], [[1.5303143, 0.74887966, 0.46669247], [1.63996382, 0.85496088, 0.55183821]]]), decimal=7) # yapf: disable