def test_dicts(self, string: str, expected: dict): result = string_to_type(string) assert result == expected
def test_malformed_primatives_are_strings(self, string: str, expected: str): result = string_to_type(string) assert result == expected
def test_strings(self, string: str, expected: str): result = string_to_type(string) assert result == expected
def test_floats(self, string: str, expected: float): result = string_to_type(string) assert result == expected
def test_integers(self, string: str, expected: int): result = string_to_type(string) assert result == expected
def test_bools(self, string: str, expected: bool): result = string_to_type(string) assert result == expected