@Test
public void buildsReflectionAcrossOrigin() {

    final Polyline<Double> input = new PtsPolyline<>(
        Arrays.asList(
            new RandomPoint<>(), new RandomPoint<>(),
            new RandomPoint<>(), new RandomPoint<>()
        )
    );
    final Polyline<Double> result = new PtReflectionPolyLine<>(input);
    for (int idx = 0; idx < result.points().size(); ++idx) {
        PtReflectionPolyLineTest.equal(
            result.points().get(idx),
            PtReflectionPolyLineTest.reflected(input.points().get(idx))
        );
    }
}