aboutsummaryrefslogtreecommitdiff
path: root/test/mocks
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-07-01 17:27:49 +0200
committerHampusM <hampus@hampusmat.com>2022-07-01 17:27:49 +0200
commit578cf43e9c8384aab463aa2a33c5be00e46dc999 (patch)
tree927262a92b7ff0365463327130de78722578aa03 /test/mocks
parentae15df6689b1245200f8a9eb074c59a200561e49 (diff)
refactor: matrix add get_size method
Diffstat (limited to 'test/mocks')
-rw-r--r--test/mocks/matrix.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/mocks/matrix.hpp b/test/mocks/matrix.hpp
index 4b193b2..d1110f2 100644
--- a/test/mocks/matrix.hpp
+++ b/test/mocks/matrix.hpp
@@ -1,9 +1,10 @@
#pragma once
-#include "interfaces/matrix.hpp"
-
#include <trompeloeil.hpp>
+#include "engine/data/bounds.hpp"
+#include "interfaces/matrix.hpp"
+
template <typename Element>
class MockMatrix : public IMatrix<Element>
{
@@ -24,6 +25,9 @@ public:
MAKE_MOCK0(get_column_cnt, uint32_t(), const noexcept override);
// NOLINTNEXTLINE(modernize-use-trailing-return-type)
+ MAKE_MOCK0(get_size, Bounds(), const noexcept override);
+
+ // NOLINTNEXTLINE(modernize-use-trailing-return-type)
MAKE_MOCK0(begin, MatrixIterator<Element>(), const noexcept override);
// NOLINTNEXTLINE(modernize-use-trailing-return-type)