Skip to content

Commit

Permalink
one more check
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Jan 18, 2024
1 parent 935efc0 commit 5f82286
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/unit/test_parse_surface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ TEST(JsonParser, CanParseValidSurfaceReaction)
EXPECT_EQ(mechanism.reactions.surface[0].gas_phase_products[0].coefficient, 1);
EXPECT_EQ(mechanism.reactions.surface[0].gas_phase_products[1].species_name, "C");
EXPECT_EQ(mechanism.reactions.surface[0].gas_phase_products[1].coefficient, 1);
EXPECT_EQ(mechanism.reactions.surface[0].unknown_properties.size(), 1);
EXPECT_EQ(mechanism.reactions.surface[0].unknown_properties["__comment"], "\"key lime pie is superior to all other pies\"");

EXPECT_EQ(mechanism.reactions.surface[1].gas_phase, "gas");
EXPECT_EQ(mechanism.reactions.surface[1].aerosol_phase, "surface reacting phase");
Expand Down
2 changes: 1 addition & 1 deletion test/unit/unit_configs/reactions/surface/valid.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"aerosol phase": "surface reacting phase",
"name": "my surface",
"__coment": "key lime pie is superior to all other pies"
"__comment": "key lime pie is superior to all other pies"
},
{
"type": "SURFACE",
Expand Down

0 comments on commit 5f82286

Please sign in to comment.