-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b196fe
commit 20beeb4
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from pathlib import Path | ||
import pytest | ||
import sys | ||
|
||
sys.path.append(str(Path(__file__).parent.parent / "profile")) | ||
from run_profile import __main__ # noqa: E402 | ||
|
||
|
||
@pytest.mark.parametrize("method", ["sample", "variational"]) | ||
@pytest.mark.parametrize("parameterization", [ | ||
"graph_centered", "graph_non_centered", "fourier_centered", "fourier_non_centered", | ||
"standard_centered", "standard_non_centered" | ||
]) | ||
def test_run_profile(method, parameterization) -> None: | ||
__main__([method, parameterization, "1", "--n=16", "--ignore_converged"]) |