Skip to content

Commit c709520

Browse files
Update test_pyhelios.py
1 parent b52d787 commit c709520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytests/test_pyhelios.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def test_material(test_sim):
300300
assert mat0.specularity == 0.0
301301
assert mat0.specular_exponent == 0.0
302302
assert mat0.classification == 0
303-
assert np.isclose(mat0.kd[0], 0.20, atol=1e-2)
303+
assert np.isclose(mat0.diffuse_components[0], 0.20, atol=1e-2)
304304

305305

306306
def test_scanner(test_sim):

0 commit comments

Comments
 (0)