@Test
public void matchTrack() {

    final TrackMetadata track = new TrackMetadata("tid", 10000000L, "nowish", "http", "kml", null);
    track.suit = "Corvid";
    track.canopy = "OSP";
    assertTrue(TrackSearch.matchTrack(track, ""));
    assertTrue(TrackSearch.matchTrack(track, " "));
    assertFalse(TrackSearch.matchTrack(track, "BASE"));
    assertFalse(TrackSearch.matchTrack(track, "Skydive"));
    assertTrue(TrackSearch.matchTrack(track, "Corvi"));
    assertTrue(TrackSearch.matchTrack(track, "Corvid"));
    assertTrue(TrackSearch.matchTrack(track, "OSP"));
    assertTrue(TrackSearch.matchTrack(track, "co sp"));
    assertFalse(TrackSearch.matchTrack(track, "crv"));
}