verifyTrackRelation(parser, 2, "Madonna", "Vogue", 0.291088f);
}
private void verifyTrackRelation(TrackSimilarityParser parser,
int trackRelationIndex, String artistName, String trackName, float match) {
TrackRelation relation = parser.getTrackRelations().get(trackRelationIndex);
assertTrue(relation.getTarget().getArtist().getName().equals(artistName));
assertTrue(relation.getTarget().getName().equals(trackName));
assertEquals(relation.getMatch(), match);
}