mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-11 15:21:54 +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,8 +8,6 @@ __email__ = "me@enzet.ru"
|
|||
|
||||
|
||||
def test_voltage() -> None:
|
||||
"""
|
||||
Test voltage tag value processing.
|
||||
"""
|
||||
"""Test voltage tag value processing."""
|
||||
assert format_voltage("42") == "42 V"
|
||||
assert format_voltage("42000") == "42 kV"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue