mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
testing get_all_universes is in DAGMCUniverse
This commit is contained in:
parent
e6a490ac9c
commit
9e88e706fe
1 changed files with 5 additions and 3 deletions
|
|
@ -93,10 +93,12 @@ def test_get_all_universes():
|
|||
u2 = openmc.Universe(cells=[c2])
|
||||
c3 = openmc.Cell(fill=u1)
|
||||
c4 = openmc.Cell(fill=u2)
|
||||
u3 = openmc.Universe(cells=[c3, c4])
|
||||
u3 = openmc.DAGMCUniverse(filename="")
|
||||
c5 = openmc.Cell(fill=u3)
|
||||
u4 = openmc.Universe(cells=[c3, c4, c5])
|
||||
|
||||
univs = set(u3.get_all_universes().values())
|
||||
assert not (univs ^ {u1, u2})
|
||||
univs = set(u4.get_all_universes().values())
|
||||
assert not (univs ^ {u1, u2, u3})
|
||||
|
||||
|
||||
def test_clone():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue