Skip to content

Commit

Permalink
Auto-format code changes (#615)
Browse files Browse the repository at this point in the history
Auto-format code using Clang-Format

Co-authored-by: GitHub Actions <actions@github.com>
  • Loading branch information
github-actions[bot] and actions-user authored Aug 7, 2024
1 parent 4a2908a commit 68cd3e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions test/integration/test_chapman_integration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ TEST(ChapmanIntegration, CanBuildChapmanSystemUsingConfig)
}

// User gives an input of concentrations
std::unordered_map<std::string, std::vector<double>> concentrations = {
{ "O", { 0.1 } }, { "O1D", { 0.1 } }, { "O2", { 0.1 } }, { "O3", { 0.2 } },
{ "Ar", { 0.2 } }, { "N2", { 0.3 } }, { "H2O", { 0.3 } }, { "CO2", { 0.3 } }
};
std::unordered_map<std::string, std::vector<double>> concentrations = { { "O", { 0.1 } }, { "O1D", { 0.1 } },
{ "O2", { 0.1 } }, { "O3", { 0.2 } },
{ "Ar", { 0.2 } }, { "N2", { 0.3 } },
{ "H2O", { 0.3 } }, { "CO2", { 0.3 } } };

state.SetConcentrations(concentrations);

Expand Down
6 changes: 3 additions & 3 deletions test/unit/configure/test_solver_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ TEST(SolverConfig, ReadAndParseSystemObject)

// Check 'name' and 'properties' in 'Species'
std::vector<std::pair<std::string, short>> species_name_and_num_properties = {
std::make_pair("Ar", 1), std::make_pair("CO2", 1), std::make_pair("H2O", 1),
std::make_pair("M", 0), std::make_pair("N2", 2), std::make_pair("O", 1),
std::make_pair("O1D", 1), std::make_pair("O2", 1), std::make_pair("O3", 1)
std::make_pair("Ar", 1), std::make_pair("CO2", 1), std::make_pair("H2O", 1),
std::make_pair("M", 0), std::make_pair("N2", 2), std::make_pair("O", 1),
std::make_pair("O1D", 1), std::make_pair("O2", 1), std::make_pair("O3", 1)
};

short idx = 0;
Expand Down

0 comments on commit 68cd3e2

Please sign in to comment.