Skip to content

Commit 9c72be9

Browse files
Formatting + docs
1 parent 1144e88 commit 9c72be9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tests/cpp_unit_tests/test_surf_source_write.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
auto 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+
}

0 commit comments

Comments
 (0)