mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-10 14:51:49 +02:00
Refactor figures; get use of Python 3.9 features.
This commit is contained in:
parent
053324451a
commit
3bcf026862
36 changed files with 698 additions and 750 deletions
|
@ -8,9 +8,10 @@ __email__ = "me@enzet.ru"
|
|||
|
||||
|
||||
def test_round_zero_coordinates() -> None:
|
||||
box: BoundaryBox = BoundaryBox(0, 0, 0, 0).round()
|
||||
|
||||
assert box.get_format() == "-0.001,-0.001,0.001,0.001"
|
||||
assert (
|
||||
BoundaryBox(0, 0, 0, 0).round().get_format()
|
||||
== "-0.001,-0.001,0.001,0.001"
|
||||
)
|
||||
|
||||
|
||||
def test_round_coordinates() -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue