map-machine/test/test_boundary_box.py
2021-08-07 23:38:04 +03:00

18 lines
371 B
Python

"""
Test boundary box.
"""
from roentgen.ui import BoundaryBox
__author__ = "Sergey Vartanov"
__email__ = "me@enzet.ru"
def test_extend() -> None:
box: BoundaryBox = BoundaryBox(
10.067596435546875,
46.094186149226466,
10.0689697265625,
46.09513848390771,
).round()
assert box.get_format() == "10.066,46.093,10.070,46.097"