def test_instantiate_from_bltr_string(): bottom = '47.0' left = '8.0' top = '48.0' right = '9.0' bbox = Bbox.from_bltr(bottom, left, top, right) assert bbox.bottom == bottom assert bbox.left == left assert bbox.top == top assert bbox.right == right
def test_instantiate_from_bltr(): bottom = 47.0 left = 8.0 top = 48.0 right = 9.0 bbox = Bbox.from_bltr(bottom, left, top, right) assert bbox.bottom == bottom assert bbox.left == left assert bbox.top == top assert bbox.right == right