Surface tension added

This commit is contained in:
Mateusz Pusz
2019-11-04 06:46:53 +00:00
parent 91bcfedf1e
commit 4d3e4aa1fc
3 changed files with 57 additions and 0 deletions
+6
View File
@@ -90,6 +90,12 @@ TEST_CASE("operator<< on a quantity", "[text][ostream]")
stream << 20.km / 2h;
REQUIRE(stream.str() == "10 km/h");
}
SECTION("surface tension")
{
stream << 20.N / 2m;
REQUIRE(stream.str() == "10 N/m");
}
}
}