From d77d16bfa34e71884eddfbb1c2cca9f4b8694bd7 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Fri, 19 Jul 2024 17:13:23 +0200 Subject: [PATCH] Update for latest nazarautils --- tests/src/Tests/SerializationsTests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/src/Tests/SerializationsTests.cpp b/tests/src/Tests/SerializationsTests.cpp index 1111915..47e9a3f 100644 --- a/tests/src/Tests/SerializationsTests.cpp +++ b/tests/src/Tests/SerializationsTests.cpp @@ -86,7 +86,7 @@ TEST_CASE("basic", "[Serialization]") TestSerialization(-0.f); TestSerialization(42.1337f); TestSerialization(-42.1337f); - TestSerialization(Nz::Pi); + TestSerialization(Nz::Pi()); TestSerialization(std::numeric_limits::infinity()); TestSerialization(-std::numeric_limits::infinity()); TestSerialization(std::numeric_limits::max()); @@ -97,7 +97,7 @@ TEST_CASE("basic", "[Serialization]") TestSerialization(-0.0); TestSerialization(42.1337); TestSerialization(-42.1337); - TestSerialization(Nz::Pi); + TestSerialization(Nz::Pi()); TestSerialization(std::numeric_limits::infinity()); TestSerialization(-std::numeric_limits::infinity()); TestSerialization(std::numeric_limits::max()); @@ -212,7 +212,7 @@ TEST_CASE("basic", "[Serialization]") SerializeOrDeserialize(serializer, 1.42f); SerializeOrDeserialize(serializer, 1.67f); SerializeOrDeserialize(serializer, "Hello world"s); - SerializeOrDeserialize(serializer, Nz::Pi); + SerializeOrDeserialize(serializer, Nz::Pi()); SerializeOrDeserialize(serializer, std::numeric_limits::max() / 2); };