Skip to content
Snippets Groups Projects
Commit b500b02e authored by Charles Burton's avatar Charles Burton
Browse files

Add code test for TEfficiency

parent 3df0f1a2
No related branches found
No related tags found
No related merge requests found
......@@ -35,5 +35,9 @@ class Test( unittest.TestCase ):
with self.assertRaises(AssertionError):
defineHistogram('var', 'TH1F', path='EXPERT', labels='l1:l2')
def test_efficiency( self ):
s = defineHistogram('var', 'TEfficiency', 'EXPERT', 'title', 10, 0.0, 10.0)
self.assertEqual(s, 'EXPERT, TEfficiency, var, title, 10, 0.000000, 10.000000')
if __name__ == '__main__':
unittest.main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment