Пример #1
0
 def test_unique_bp(self):
     self.assertEqual(sum(map(lambda x \
             :x[1]-x[0],collapseIntervals(self.partial))) -
                      calcOverlap(self.partial),330-150)
Пример #2
0
 def test_unique_bp(self):
     self.assertEqual(sum(map(lambda x \
             :x[1]-x[0],collapseIntervals(self.partial))) -
                      calcOverlap(self.partial),330-150)
Пример #3
0
 def test_bpOverlap(self):
     # Make sure overlaps are calculated correctly
     self.assertEqual(calcOverlap(self.simple), 4)
     self.assertEqual(calcOverlap(self.enclosed), 40)
     self.assertEqual(calcOverlap(self.partial), 400)
Пример #4
0
 def test_bpOverlap(self):
     # Make sure overlaps are calculated correctly
     self.assertEqual(calcOverlap(self.simple), 4)
     self.assertEqual(calcOverlap(self.enclosed), 40)
     self.assertEqual(calcOverlap(self.partial),400)