summaryrefslogtreecommitdiffhomepage
path: root/test/entity.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2025-02-05 05:17:47 +0100
committerStanislaw Halik <sthalik@misaki.pl>2025-02-05 06:22:43 +0100
commitab13ab5f71a5b09de3b9526feca2ed7c564cee7e (patch)
tree1699d8de2dd8217b7133b19c1a9878494a2854ca /test/entity.cpp
parent867a22c2a989b3f3a2bc47044226f5f9df6a59fd (diff)
switch to Corrade pair impl from stl
Diffstat (limited to 'test/entity.cpp')
-rw-r--r--test/entity.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/entity.cpp b/test/entity.cpp
index 2bbdf29a..97ffd7a7 100644
--- a/test/entity.cpp
+++ b/test/entity.cpp
@@ -258,7 +258,7 @@ void test_range2()
const auto A = m_foo.erased();
auto r = A.get_range(&x);
auto i = r.convert<int>();
- fm_assert(i.second == rʹ.max);
+ fm_assert(i.second() == rʹ.max);
}
constexpr bool test_range3()
@@ -277,8 +277,8 @@ void test_range4()
constexpr auto rʹ = f.get_range(f.range, TestAccessors{});
const auto A = f.erased();
const auto r = A.get_range(&x).convert<Vector2i>();
- fm_assert(r.first == rʹ.min);
- fm_assert(r.second == rʹ.max);
+ fm_assert(r.first() == rʹ.min);
+ fm_assert(r.second() == rʹ.max);
}
constexpr bool test_enum_range()