@Test
public void buildsWithGivenArgs() {

    final RandomPoint<Double> point = new RandomPoint<>();
    final RandomPoint<Double> dir = new RandomPoint<>();
    final Line<Double> line = new PtDirLine<>(point, dir);
    MatcherAssert.assertThat(
        new PointInLine<>(point, line).resolve(new Decimal()),
        Matchers.is(true)
    );
    MatcherAssert.assertThat(line.direction(), Matchers.is(dir));
}