-
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
Showing
3 changed files
with
29 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
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
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,23 @@ | ||
from __future__ import annotations | ||
|
||
import pathlib | ||
|
||
import geant4_python_application | ||
|
||
|
||
def test_versions(): | ||
awkward_version = geant4_python_application.__awkward_version__ | ||
assert awkward_version | ||
pybind11_version = geant4_python_application.__pybind11_version__ | ||
assert pybind11_version | ||
geant4_version = geant4_python_application.__geant4_version__ | ||
assert geant4_version | ||
|
||
|
||
def test_geant4_config(): | ||
geant4_config = pathlib.Path(geant4_python_application.geant4_config) | ||
assert geant4_config.exists() | ||
assert geant4_config.is_file() | ||
|
||
geant4_python_application.check_datasets() | ||
geant4_python_application.install_datasets() |