def test_gps_to_str_form(): assert gpstime.gps_to_str(12345, form="%Y%m%d") == "19800106"
def test_gps_to_str(gps, text): assert gpstime.gps_to_str(gps) == text