@Test
    public void testZeroCases() {
        assertMetrics("absoluteProximity:0.1 proximity:1 matches:0 exactness:0","y","a");
        assertMetrics("absoluteProximity:0.1 proximity:1 matches:0 exactness:0","a","x");
        assertMetrics("absoluteProximity:0.1 proximity:1 matches:0 exactness:0","","x");
        assertMetrics("absoluteProximity:0.1 proximity:1 matches:0 exactness:0","y","");
        assertMetrics("absoluteProximity:0.1 proximity:1 matches:0 exactness:0","","");
    }
Test cases where we choose between multiple different segmentations
searchlib/src/test/java/com/yahoo/searchlib/ranking/features/fieldmatch/test/FieldMatchMetricsTestCase.java