Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/pycogent-HEAD/tests/test_core/test_location.py   pycogent(Download)
    def test_get_coords(self):
        """getCoordinates should return raw coordinates matching input"""
        spans = [(0,9), (20, 32)]
        map = Map(spans, parent_length=100)
        coords = map.getCoordinates()
        spans = [(32, 20), (9, 0)]
        map = Map(spans, parent_length=100)
        coords = map.getCoordinates()
        self.assertEqual(coords, spans)