@Test
    public void testFindReachableMassesAndInputsOnInputNodes() {
        Range range = new Range(0, 10);
        mass1 = new Mass(0, 1, INPUT);
        mass2 = new Mass(1, 1);
        graph.addMasses(mass1, mass2);

        List<Mass> reachableMasses = graph.findReachableMassesAndInputs(mass2, range, excludeCrossings);
        assertEquals(1, reachableMasses.size());
        assertSame(mass1, reachableMasses.get(0));
    }