Add 3-dimensional tests to all n-dimensional HKE unit tests
By repeating all tile/assert_almost_equal blocks twice
@@ -70,6 +70,7 @@ class TestHelmholtzKohlrauschEffectObjectNayatani1997(unittest.TestCase):
result_vac = HelmholtzKohlrausch_effect_object_Nayatani1997(
uv, uv_d65, L_a, method='VAC')
+ for i in range(2):
uv_d65 = np.tile(uv_d65, (6, 1))
uv = np.tile(uv, (6, 1))
result_vcc = np.tile(result_vcc, 6)
@@ -132,6 +133,7 @@ class TestHelmholtzKohlrauschEffectLuminousNayatani1997(unittest.TestCase):
result_vac = HelmholtzKohlrausch_effect_luminous_Nayatani1997(
uv, uv_d65, L_a, method='VAC')
+ for i in range(2):
uv_d65 = np.tile(uv_d65, (6, 1))
uv = np.tile(uv, (6, 1))
result_vcc = np.tile(result_vcc, 6)
@@ -191,6 +193,7 @@ class TestCoefficient_K_Br_Nayatani1997(unittest.TestCase):
L_a = 63.66
K_Br = coefficient_K_Br_Nayatani1997(L_a)
+ for i in range(2):
L_a = np.tile(L_a, 6)
K_Br = np.tile(K_Br, 6)
@@ -239,6 +242,7 @@ class TestCoefficient_q_Nayatani1997(unittest.TestCase):
L_a = 63.66
q = coefficient_q_Nayatani1997(L_a)
+ for i in range(2):
L_a = np.tile(L_a, 6)
q = np.tile(q, 6)
