Skip to content

Commit

Permalink
Update for latest nazarautils
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix committed Jul 19, 2024
1 parent 9f65281 commit d77d16b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/Tests/SerializationsTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ TEST_CASE("basic", "[Serialization]")
TestSerialization(-0.f);
TestSerialization(42.1337f);
TestSerialization(-42.1337f);
TestSerialization(Nz::Pi<float>);
TestSerialization(Nz::Pi<float>());
TestSerialization(std::numeric_limits<float>::infinity());
TestSerialization(-std::numeric_limits<float>::infinity());
TestSerialization(std::numeric_limits<float>::max());
Expand All @@ -97,7 +97,7 @@ TEST_CASE("basic", "[Serialization]")
TestSerialization(-0.0);
TestSerialization(42.1337);
TestSerialization(-42.1337);
TestSerialization(Nz::Pi<double>);
TestSerialization(Nz::Pi<double>());
TestSerialization(std::numeric_limits<double>::infinity());
TestSerialization(-std::numeric_limits<double>::infinity());
TestSerialization(std::numeric_limits<double>::max());
Expand Down Expand Up @@ -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<double>);
SerializeOrDeserialize(serializer, Nz::Pi<double>());
SerializeOrDeserialize(serializer, std::numeric_limits<std::uint64_t>::max() / 2);
};

Expand Down

0 comments on commit d77d16b

Please sign in to comment.