def testNoComplement(self): """ If no ranges are on the complement strand, the orientations method must return just False. """ ranges = GenomeRanges('join{[0:100](+), [400:600](+)}') self.assertEqual({True}, ranges.orientations())
def testMixed(self): """ If the ranges are on the both the regular and the complement strand, the orientations method must return the set {True, False}. """ ranges = GenomeRanges('join{[0:100](+), [400:600](-)}') self.assertEqual({True, False}, ranges.orientations())
def testAllComplement(self): """ If all ranges are on the complement strand, the orientations method must return just True. """ ranges = GenomeRanges('join{[0:100](-), [400:600](-)}') self.assertEqual({False}, ranges.orientations())