@Test
public void detectFlightMode() {

    assertEquals("Ground", getMode(getLoc(0, 0)));
    assertEquals("Ground", getMode(getLoc(1, 10)));
    assertEquals("Plane", getMode(getLoc(0, 100)));
    assertEquals("Wingsuit", getMode(getLoc(-20, 50)));
    assertEquals("Wingsuit", getMode(getLoc(-18, 14)));
    assertEquals("Freefall", getMode(getLoc(-40, 0)));
    assertEquals("Canopy", getMode(getLoc(-5, 20)));
    assertEquals("", getMode(getLoc(15, 20)));
}