@Test
public void testA() {

    Recommendation<String, String> recA = new Recommendation<>("a", Arrays.asList(
            Tuples.tuple("A", 9.0),
            Tuples.tuple("L", 8.0),
            Tuples.tuple("B", 7.0),
            Tuples.tuple("N", 6.0),
            Tuples.tuple("O", 5.0),
            Tuples.tuple("P", 4.0),
            Tuples.tuple("Q", 3.0),
            Tuples.tuple("L", 2.0),
            Tuples.tuple("C", 1.0),
            Tuples.tuple("R", 0.0)
    ));
    Assert.assertEquals(5.0 / 12.0, ap.evaluate(recA), 1e-12);
}