Skip to content

Commit 2ca97d7

Browse files
committed
Add option 'ambiant_occlusion'
1 parent 6dd68ef commit 2ca97d7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scripts/tests/test_tractogram_assign_custom_color.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,12 @@ def test_execution_from_angle(script_runner, monkeypatch):
4848
ret = script_runner.run('scil_tractogram_assign_custom_color.py',
4949
in_bundle, 'colored3.trk', '--local_angle')
5050
assert ret.success
51+
52+
53+
def test_execution_ambiant_occlusion(script_runner, monkeypatch):
54+
monkeypatch.chdir(os.path.expanduser(tmp_dir.name))
55+
56+
ret = script_runner.run('scil_tractogram_assign_custom_color.py',
57+
in_bundle, 'colored4.trk', '--local_angle',
58+
'--ambiant_occlusion')
59+
assert ret.success

0 commit comments

Comments
 (0)