fix: fmt_test fixed to use delta to create a quantity of thermodynamic_temperature

This commit is contained in:
Mateusz Pusz
2024-11-12 16:20:51 +01:00
parent 520610ab2f
commit 73ad1f08d4

View File

@ -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<isq::thermodynamic_temperature[K]>(2));
os << q;
SECTION("iostream") { CHECK(os.str() == "10 J/K"); }