diff --git a/tests/framework/testUnits.cpp b/tests/framework/testUnits.cpp index 67db321d8734fc488a833348dca02c120a831b52..a6f1d62ece1d3c11d625868807f1c9e477b7c24c 100644 --- a/tests/framework/testUnits.cpp +++ b/tests/framework/testUnits.cpp @@ -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") {