def METHOD_NAME(self):
    p_1 = np.zeros(3)
    p_2 = np.random.rand(3)
    p_3 = np.random.rand(3)
    p_i = pp.intersections.segments_3d(p_1, p_2, p_2, p_3)
    self.assertTrue(np.allclose(p_i, p_2.reshape((-1, 1))))