Skip to content

Commit 0712259

Browse files
committed
NF: expanded tests
1 parent 70bbf3b commit 0712259

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

surfer/tests/test_viz.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,17 @@ def test_brains():
7373
# testing backend breaks when passing in a figure, so we use 'auto' here
7474
# (shouldn't affect usability, but it makes testing more annoying)
7575
mlab.options.backend = 'auto'
76-
surfs = ['inflated', 'white', 'white']
77-
hemis = ['lh', 'rh', 'both']
78-
titles = [None, 'Hello', 'Good bye!']
79-
cortices = ["low_contrast", ("Reds", 0, 1, False), 'hotpink']
80-
sizes = [500, (400, 300), (300, 300)]
81-
backgrounds = ["white", "blue", "black"]
82-
foregrounds = ["black", "white", "0.75"]
83-
figs = [None, mlab.figure(), None]
84-
subj_dirs = [None, subj_dir, subj_dir]
85-
alphas = [1.0, 0.5, 0.25]
76+
surfs = ['inflated', 'white', 'white', 'white']
77+
hemis = ['lh', 'rh', 'both', 'both']
78+
titles = [None, 'Hello', 'Good bye!', 'lut test']
79+
cortices = ["low_contrast", ("Reds", 0, 1, False), 'hotpink',
80+
['yellow', 'blue']]
81+
sizes = [500, (400, 300), (300, 300), (300, 400)]
82+
backgrounds = ["white", "blue", "black", '0.75']
83+
foregrounds = ["black", "white", "0.75", 'red']
84+
figs = [None, mlab.figure(), None, None]
85+
subj_dirs = [None, subj_dir, subj_dir, subj_dir]
86+
alphas = [1.0, 0.5, 0.25, 0.7]
8687
for surf, hemi, title, cort, s, bg, fg, fig, sd, alpha \
8788
in zip(surfs, hemis, titles, cortices, sizes,
8889
backgrounds, foregrounds, figs, subj_dirs, alphas):

0 commit comments

Comments
 (0)