Skip to content

Commit

Permalink
Test: impactx.__version__
Browse files Browse the repository at this point in the history
Make sure this is not empty.
  • Loading branch information
ax3l committed Jan 2, 2024
1 parent b256f37 commit ccbb632
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/python/test_impactx.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,17 @@
import pytest

import amrex.space3d as amr
import impactx

Check notice

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note test

Module 'impactx' is imported with both 'import' and 'import from'.
from impactx import ImpactX, RefPart, distribution, elements


def test_impactx_module():
"""
Tests the basic modules we provide.
"""
assert impactx.__version__ # version must not be empty


def test_impactx_fodo_file():
"""
This tests an equivalent to main.cpp in C++
Expand Down

0 comments on commit ccbb632

Please sign in to comment.