mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
update unit test
This commit is contained in:
parent
e64fb4cd41
commit
1a67755f6a
1 changed files with 2 additions and 0 deletions
|
|
@ -294,9 +294,11 @@ def test_to_xml_element(cell_with_lattice):
|
|||
|
||||
c = cells[0]
|
||||
c.temperature = 900.0
|
||||
c.volume = 1.0
|
||||
elem = c.create_xml_subelement(root)
|
||||
assert elem.get('region') == str(c.region)
|
||||
assert elem.get('temperature') == str(c.temperature)
|
||||
assert elem.get('volume') == str(c.volume)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("rotation", [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue