Exemple #1
0
 def test_y(self):
     nt.assert_equal('y', viz._check_fit_arg('y', 'axname'))
Exemple #2
0
 def test_bad_name(self):
     viz._check_fit_arg('junk', 'axname')
Exemple #3
0
 def test_both(self):
     nt.assert_equal('both', viz._check_fit_arg('both', 'fitprobs'))
     nt.assert_equal('both', viz._check_fit_arg('both', 'fitlogs'))
Exemple #4
0
 def test_None(self):
     nt.assert_true(viz._check_fit_arg(None, 'fitprobs') is None)
     nt.assert_true(viz._check_fit_arg(None, 'fitlogs') is None)
Exemple #5
0
 def test_bad_fitarg(self):
     viz._check_fit_arg('junk', 'fitprobs')