@Test
public void testIsInsideTriangle2() throws Exception {

    Vector2 p = new Vector2(2d, 3d);
    Vector2 pA = new Vector2(1d, 1d);
    Vector2 pB = new Vector2(4d, 2d);
    Vector2 pC = new Vector2(2d, 7d);
    Triangle triangle = new Triangle(pA, pB, pC);
    assertThat(Geometry.isInsideTriangle(p, triangle)).isTrue();
}