public boolean isFound() {
        return found;
    }
@Test
    public void testCalcAverageSpeedDetailsWithShortDistances_issue1848() {
        Weighting weighting = new SpeedWeighting(carAvSpeedEnc);
        Path p = new Dijkstra(pathDetailGraph, weighting, TraversalMode.NODE_BASED).calcPath(1, 6);
        assertTrue(p.isFound());
        Map<String, List<PathDetail>> details = PathDetailsFromEdges.calcDetails(p, carManager, weighting,
                List.of(AVERAGE_SPEED), new PathDetailsBuilderFactory(), 0, pathDetailGraph);
        assertEquals(1, details.size());
        List<PathDetail> averageSpeedDetails = details.get(AVERAGE_SPEED);
        assertEquals(4, averageSpeedDetails.size());

        // reverse path includes 'null' value as first
        p = new Dijkstra(pathDetailGraph, weighting, TraversalMode.NODE_BASED).calcPath(6, 1);
        assertTrue(p.isFound());
        details = PathDetailsFromEdges.calcDetails(p, carManager, weighting,
                List.of(AVERAGE_SPEED), new PathDetailsBuilderFactory(), 0, pathDetailGraph);
        assertEquals(1, details.size());
        averageSpeedDetails = details.get(AVERAGE_SPEED);
        assertEquals(5, averageSpeedDetails.size());
        assertNull(averageSpeedDetails.get(0).getValue());
    }