Skip to content

Commit

Permalink
Fix test: water is now a liquid
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaponte committed Nov 7, 2024
1 parent 6e73cca commit de4fed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nain4/test/test-material.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ TEST_CASE("nain material", "[nain][material]") {
auto water = nain4::material("G4_WATER");
CHECK (water->GetName() == "G4_WATER");
CHECK (water->GetChemicalFormula() == "H_2O");
CHECK (water->GetState() == G4State::kStateSolid); // WTF!?
CHECK (water->GetState() == G4State::kStateLiquid);
CHECK_THAT(water->GetTemperature() / kelvin, Within1ULP( 293.15));
CHECK_THAT(water->GetPressure() / atmosphere, Within1ULP( 1. ));
CHECK_THAT(water->GetDensity() / (kg/m3), Within1ULP(1000. ));
Expand Down

0 comments on commit de4fed7

Please sign in to comment.