IAP GITLAB

Skip to content
Snippets Groups Projects
Commit d1e8a0f4 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

add test for quantity sqrt

parent ca0a0a26
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,8 @@ TEST_CASE("PhysicalUnits", "[Units]") {
const auto E3 = E2 + 100_GeV + pow(10, lgE) * 1_GeV;
CHECK(E3 == 180_GeV);
CHECK(sqrt(5_GeV * 5_GeV) / 5_GeV == Approx(1));
}
SECTION("Output") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment