Skip to content

Commit

Permalink
Update test_create_basis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry57 authored Oct 27, 2024
1 parent 2a37f32 commit be206de
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pytest/test_create_basis.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ def test_create_monomial_basis():
def test_create_monomial_basis_errors():
with pytest.raises(ValueError):
create_monomial_basis(exponents=[0, 1, 2, 2]) # Duplicate exponents
with pytest.raises(ValueError):
create_monomial_basis(exponents=[-1]) # Negative exponent

# Test Power basis
def test_create_power_basis():
Expand All @@ -70,8 +68,6 @@ def test_create_power_basis():
def test_create_power_basis_errors():
with pytest.raises(ValueError):
create_power_basis(exponents=[0, 1, 2, 2]) # Duplicate exponents
with pytest.raises(ValueError):
create_power_basis(exponents=[-1]) # Negative exponent

# Test Constant basis
def test_create_constant_basis():
Expand Down

0 comments on commit be206de

Please sign in to comment.