File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99auto ssw_cells_from_xml (std::string xml_string)
1010{
11-
1211 // Create a pugixml document object
1312 pugi::xml_document doc;
1413
@@ -87,19 +86,23 @@ TEST_CASE("Test duplicate cells in surface source write")
8786 </settings>
8887 )" };
8988
89+ // to + to -> to
9090 auto ssw_cells = ssw_cells_from_xml (xml_strings[0 ]);
9191 REQUIRE (ssw_cells.size () == 1 );
9292 REQUIRE (ssw_cells.at (1 ) == openmc::SSWCellType::To);
9393
94+ // to + from -> both
9495 ssw_cells = ssw_cells_from_xml (xml_strings[1 ]);
9596 REQUIRE (ssw_cells.size () == 1 );
9697 REQUIRE (ssw_cells.at (1 ) == openmc::SSWCellType::Both);
9798
99+ // to + both -> both
98100 ssw_cells = ssw_cells_from_xml (xml_strings[2 ]);
99101 REQUIRE (ssw_cells.size () == 1 );
100102 REQUIRE (ssw_cells.at (1 ) == openmc::SSWCellType::Both);
101103
104+ // both + to -> both
102105 ssw_cells = ssw_cells_from_xml (xml_strings[3 ]);
103106 REQUIRE (ssw_cells.size () == 1 );
104107 REQUIRE (ssw_cells.at (1 ) == openmc::SSWCellType::Both);
105- }
108+ }
You can’t perform that action at this time.
0 commit comments