def test_simplex_grid_raises_value_error_overflow(): simplex_grid(100, 50) # Exceed max value of np.intp
def test_simplex_grid(self): out = simplex_grid(3, 4) assert_array_equal(out, self.simplex_grid_3_4) assert_array_equal(simplex_grid(1, 1), [[1]])