@Test
public void testDefaultBehaviourForScoreAll() {

    BinaryClassificationMetrics scoreCalculator = new BinaryClassificationMetrics();
    LabelPairCursor<Double> cursor = new TestLabelPairCursor<>(
        Arrays.asList(1.0, 1.0, 1.0, 1.0),
        Arrays.asList(1.0, 1.0, 0.0, 1.0)
    );
    BinaryClassificationMetricValues metricValues = scoreCalculator.scoreAll(cursor.iterator());
    assertEquals(0.75, metricValues.accuracy(), 1e-12);
}