def test_update_points(self):
     executor = SimplexExecutor()
     updated_vertices = executor.update_points(
         np.array([[1.0, 0], [2.0, 0], [2.9, 0]]),  # vertices
         np.array([1, 2, 3]),  # vertex ranks
         0,  # reflection rank
         4,  # expansion rank
         5,  # contraction rank
     )
     self.assertTrue(np.all(
         updated_vertices - np.array([[1.0, 0], [2.0, 0], [float(31)/30, 0]]) < 0.0001
     ))