<filename>tests/test_text.py
"""
Test text generation.
"""
from map_machine.text import format_voltage

__author__ = "<NAME>"
__email__ = "<EMAIL>"


def test_voltage() -> None:
    """Test voltage tag value processing."""
    assert format_voltage("42") == "42 V"
    assert format_voltage("42000") == "42 kV"
