Coverage for gpaw/test/test_fuzz.py: 100%
9 statements
« prev ^ index » next coverage.py v7.7.1, created at 2025-07-08 00:17 +0000
« prev ^ index » next coverage.py v7.7.1, created at 2025-07-08 00:17 +0000
1import pytest
2from gpaw.test.fuzz import main
5@pytest.mark.serial
6@pytest.mark.ci
7@pytest.mark.parametrize('mode', ['pw', 'lcao', 'fd'])
8@pytest.mark.parametrize('pbc', [0, 1])
9def test_fuzz(in_tmp_dir, mode, pbc):
10 error = main(f'h2 -m {mode} -c new,old -v 4.0 -p {pbc}')
11 assert error == 0, mode