From 73ad1f08d46f752f934a7106a49cb64fd279111c Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 12 Nov 2024 16:20:51 +0100 Subject: [PATCH] fix: fmt_test fixed to use `delta` to create a quantity of `thermodynamic_temperature` --- test/runtime/fmt_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtime/fmt_test.cpp b/test/runtime/fmt_test.cpp index d375f091..a163c187 100644 --- a/test/runtime/fmt_test.cpp +++ b/test/runtime/fmt_test.cpp @@ -402,7 +402,7 @@ TEST_CASE("default quantity formatting", "[quantity][ostream][fmt]") SECTION("entropy") { - const auto q = 20 * isq::kinetic_energy[J] / (2 * isq::thermodynamic_temperature[K]); + const auto q = 20 * isq::kinetic_energy[J] / (delta(2)); os << q; SECTION("iostream") { CHECK(os.str() == "10 J/K"); }