Exemple #1
0
 def test_volumetry_evaluation_sliver_score(self):
     """
     Testing Volume Difference score. Score for negative values must be
     equal. Score for far high values must be 0.
     """
     score = ve.sliver_score([1, -1, 30, 50, 100], 'vd')
     self.assertAlmostEquals(score[0], score[1])
     self.assertEqual(score[2], 0)
Exemple #2
0
 def test_volumetry_evaluation_sliver_score(self):
     """
     Testing Volume Difference score. Score for negative values must be
     equal. Score for far high values must be 0.
     """
     score = ve.sliver_score([1, -1, 30, 50, 100], 'vd')
     self.assertAlmostEquals(score[0], score[1])
     self.assertEqual(score[2], 0)