Skip to content

Commit

Permalink
Rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dedean16 committed Oct 3, 2024
1 parent d7b8d41 commit 5edcbb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_wfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,8 @@ def test_simple_genetic(population_size: int, elite_size: int):

@pytest.mark.parametrize("basis_str", ("plane_wave", "hadamard"))
@pytest.mark.parametrize("shape", ((8, 8), (16, 4)))
def test_custom_blind_dual_reference_ortho_split(basis_str: str, shape):
"""Test custom blind dual reference with an orthonormal phase-only basis.
def test_dual_reference_ortho_split(basis_str: str, shape):
"""Test dual reference with an orthonormal phase-only basis.
Two types of bases are tested: plane waves and Hadamard"""
do_debug = False
N = shape[0] * (shape[1] // 2)
Expand Down Expand Up @@ -479,9 +479,9 @@ def test_custom_blind_dual_reference_ortho_split(basis_str: str, shape):
assert np.abs(field_correlation(sim.t, result.t)) > 0.95


def test_custom_blind_dual_reference_non_ortho():
def test_dual_reference_non_ortho_split():
"""
Test custom blind dual reference with a non-orthogonal basis.
Test dual reference with a non-orthogonal basis.
"""
do_debug = False

Expand Down

0 comments on commit 5edcbb5

Please sign in to comment.