Skip to content

Commit

Permalink
style(test): run clang-format on test directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jnooree committed Nov 10, 2023
1 parent 656d3d0 commit c6b00f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/core/element_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ TEST_F(PeriodicTableTest, IsotopesTest) {
tol = 1e-2;
}
EXPECT_NEAR(total_abundance, 1.0, tol)
<< elem.atomic_number() << elem.symbol();
<< elem.atomic_number() << elem.symbol();

tol = 5e-3;
// Some elements have larger uncertainty
Expand All @@ -120,11 +120,11 @@ TEST_F(PeriodicTableTest, IsotopesTest) {
}

EXPECT_NEAR(elem.atomic_weight(), avg_wt, tol)
<< elem.atomic_number() << elem.symbol();
<< elem.atomic_number() << elem.symbol();
EXPECT_FALSE(elem.radioactive());
} else {
EXPECT_EQ(elem.atomic_weight(), elem.major_isotope().mass_number)
<< elem.atomic_number() << elem.symbol();
<< elem.atomic_number() << elem.symbol();
EXPECT_TRUE(elem.radioactive());
}
}
Expand Down Expand Up @@ -205,7 +205,7 @@ TEST_F(PeriodicTableTest, GroupTest) {

// Check all elements are used
EXPECT_TRUE(
std::all_of(used.begin(), used.end(), [](int x) { return x == 1; }));
std::all_of(used.begin(), used.end(), [](int x) { return x == 1; }));
}

TEST_F(PeriodicTableTest, LanActTest) {
Expand Down

0 comments on commit c6b00f3

Please sign in to comment.