def test_are_convertible() -> None: assert cfunits.are_convertible("K", "K") assert cfunits.are_convertible("m", "meters") assert cfunits.are_convertible("hPa", "Pa") assert not cfunits.are_convertible("m", "Pa")
def test_are_convertible(): assert cfunits.are_convertible('m', 'm') assert cfunits.are_convertible('hPa', 'Pa') assert not cfunits.are_convertible('m', 'Pa')