def test_buffer_conversion(gps_sensor):
    buffer_1 = [0, 0, 0, 0, 0, 0, 0, 0]
    lat_1, lon_1 = gps_sensor.convert_buffer(buffer_1)
    print "%s maps to (%s, %s)" % (buffer_1, lat_1, lon_1)
    
    buffer_2 = [18, 8, 64, 31, 99, 150, 87, 254]
    lat_2, lon_2 = gps_sensor.convert_buffer(buffer_2)
    print "%s maps to (%s, %s)" % (buffer_2, lat_2, lon_2)
dataset/ETHPy150Open FishPi/FishPi-POCV---Command---Control/fishpi/sensor/test_GPS_I2C.py/test_buffer_conversion/original