Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bam241 committed Dec 16, 2024
1 parent a4c164c commit 06bc32a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/dagmc/tests/dagmc_unit_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ TEST_F(DagmcMetadataTest, TestVacuumName) {

std::vector<std::string> vacuum_names = {"Hydrogen", "Hydrogen", "Hydrogen",
"Vacuum"};
for (int id : vol_ids){
for (int id : vol_ids) {
std::string mat_prop = dgm->get_volume_property("material", id, false);
EXPECT_EQ(mat_prop, vacuum_names[id-1]);
EXPECT_EQ(mat_prop, vacuum_names[id - 1]);
}
}

Expand All @@ -114,9 +114,9 @@ TEST_F(DagmcMetadataTest, TestVacuumName) {

std::vector<std::string> vacuum_names = {"Vacuum", "Vacuum", "Vacuum",
"Vacuum"};
for (int id : vol_ids){
for (int id : vol_ids) {
std::string mat_prop = dgm->get_volume_property("material", id, false);
EXPECT_EQ(mat_prop, vacuum_names[id-1]);
EXPECT_EQ(mat_prop, vacuum_names[id - 1]);
}
}

Expand All @@ -131,9 +131,9 @@ TEST_F(DagmcMetadataTest, TestVacuumName) {

std::vector<std::string> vacuum_names = {"Hydrogen", "Hydrogen", "Hydrogen",
"Vacuum"};
for (int id : vol_ids){
for (int id : vol_ids) {
std::string mat_prop = dgm->get_volume_property("material", id, false);
EXPECT_EQ(mat_prop, vacuum_names[id-1]);
EXPECT_EQ(mat_prop, vacuum_names[id - 1]);
}
}
}
Expand Down

0 comments on commit 06bc32a

Please sign in to comment.