Skip to content

Commit

Permalink
renaming chapman mechanism and adding readme
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Jun 25, 2024
1 parent 85232c5 commit df5422f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/integration/chapman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ TEST(ChapmanIntegration, CanBuildChapmanSystemUsingConfig)

// Read and parse the configure files
// If parsing fails, it could throw exceptions - we probably want to catch them.
std::string config_path = "./unit_configs/chapman";
std::string config_path = "./unit_configs/small_mechanism";
EXPECT_NO_THROW(solverConfig.ReadAndParse(config_path));

// Get solver parameters ('System', the collection of 'Process')
Expand Down
4 changes: 2 additions & 2 deletions test/unit/configure/test_solver_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ TEST(SolverConfig, ReadAndParseSystemObject)
micm::SolverConfig solverConfig;

// Read and parse the configure files
EXPECT_NO_THROW(solverConfig.ReadAndParse("./unit_configs/chapman/config.json"));
EXPECT_NO_THROW(solverConfig.ReadAndParse("./unit_configs/small_mechanism/config.json"));

// Get solver parameters ('System', the collection of 'Process')
micm::SolverParameters solver_params = solverConfig.GetSolverParams();
Expand Down Expand Up @@ -157,7 +157,7 @@ TEST(SolverConfig, ReadAndParseProcessObjects)
micm::SolverConfig<micm::JsonReaderPolicy> solverConfig;

// Read and parse the configure files
EXPECT_NO_THROW(solverConfig.ReadAndParse("./unit_configs/chapman/config.json"));
EXPECT_NO_THROW(solverConfig.ReadAndParse("./unit_configs/small_mechanism/config.json"));

// Get solver parameters ('System', the collection of 'Process')
micm::SolverParameters solver_params = solverConfig.GetSolverParams();
Expand Down
4 changes: 4 additions & 0 deletions test/unit/unit_configs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Description

These configurations are meant only for internal testing purposes. While some of them may resemble real mechanism, their
usefulness is in verification of micm only and these are not for use to do any science.
File renamed without changes.
File renamed without changes.

0 comments on commit df5422f

Please sign in to comment.