mv: typing_helpers out of test_data

This commit is contained in:
Benjamin Kirkbride
2020-04-20 20:48:53 -04:00
parent cd898c7bb2
commit a57ecdf4c8

View File

@@ -1,19 +0,0 @@
"""Tests for typing helpers"""
import pytest
from pytiled_parser import typing_helpers as TH
TEST_IS_FLOAT_PARAMS = [
(1, True),
("1", True),
(1.1, True),
("1.1", True),
("one", False),
(None, False),
]
@pytest.mark.parametrize("string,expected", TEST_IS_FLOAT_PARAMS)
def test_is_float(string, expected):
assert TH.is_float(string) == expected