@Test
public void read() throws IOException {

    assertEquals(0, parse("").size());
    assertEquals(0, parse("millis,sensor,lat,lon,alt\n").size());
    assertEquals(1, parse("millis,sensor,lat,lon,alt\n1,gps,2,3,4").size());
    assertEquals(1, parse("millis,sensor,lat,lon,alt\n1,gps,2,3,4\n").size());
    assertEquals(1, parse("millis,sensor,lat,lon,alt\n1,gps,2,3,4\n5,alt,6,7,8").size());
    assertEquals(1, parse("millis,sensor,lat,lon,alt\n1,gps,2,3,4\n5,alt,6,7,8\n9,alt,10,11,12").size());
    assertEquals(2, parse("millis,sensor,lat,lon,alt\n1,gps,2,3,4\n5,gps,6,7,8").size());
    // FlySight style
    assertEquals(1, parse("time,lat,lon,alt\n2019-04-20T16:20:00.00Z,2,3,4").size());
}