Skip to content

Commit

Permalink
Update test_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunp2 authored Dec 4, 2023
1 parent 588e596 commit d2061fb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/test_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ def test_training():
...

# https://docs.pytest.org/en/7.1.x/how-to/parametrize.html
# @mark.parametrize('n_atoms', [3, 4])
# def test_sampling_num_atoms(n_atoms):
# run_generator(n_atoms=n_atoms)
@mark.parametrize('n_atoms', [3, 4])
def test_sampling_num_atoms(n_atoms):
run_generator(n_atoms=n_atoms)

@mark.parametrize('n_atoms', [3])
@mark.parametrize('node', ['CuCu', 'ZnZn', 'ZnOZnZnZn'])
@mark.parametrize('n_samples', [1, 3])
def test_sampling_num_atoms(n_atoms, node, n_samples):
run_generator(n_atoms=n_atoms, node=node, n_samples=n_samples)

0 comments on commit d2061fb

Please sign in to comment.