Ejemplo n.º 1
0
def test_simplex_grid_raises_value_error_overflow():
    simplex_grid(100, 50)  # Exceed max value of np.intp
Ejemplo n.º 2
0
    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]])
Ejemplo n.º 3
0
    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]])
Ejemplo n.º 4
0
def test_simplex_grid_raises_value_error_overflow():
    simplex_grid(100, 50)  # Exceed max value of np.intp