mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Moving CAD test to regression tests.
This commit is contained in:
parent
d32a8cf80e
commit
22448ee005
8 changed files with 1 additions and 9 deletions
1
tests/regression_tests/cad/__init__.py
Normal file
1
tests/regression_tests/cad/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
import pytest
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
import numpy as np
|
||||
import pytest
|
||||
|
||||
|
||||
def assert_unbounded(obj):
|
||||
"""Assert that a region/cell is unbounded."""
|
||||
ll, ur = obj.bounding_box
|
||||
assert ll == pytest.approx((-np.inf, -np.inf, -np.inf))
|
||||
assert ur == pytest.approx((np.inf, np.inf, np.inf))
|
||||
Loading…
Add table
Add a link
Reference in a new issue