    @Test
    public void testXCollision() {

        GenericSegment s1 = new GenericSegment( 10, 20, 10, 20 );
        GenericSegment s2 = new GenericSegment( 15, 25, 15, 25 );
        assert SegmentUtils.intersects( s1, s2 );
    }