From 578cf43e9c8384aab463aa2a33c5be00e46dc999 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 1 Jul 2022 17:27:49 +0200 Subject: refactor: matrix add get_size method --- test/mocks/matrix.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'test/mocks') 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 +#include "engine/data/bounds.hpp" +#include "interfaces/matrix.hpp" + template class MockMatrix : public IMatrix { @@ -23,6 +24,9 @@ public: // NOLINTNEXTLINE(modernize-use-trailing-return-type) 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(), const noexcept override); -- cgit v1.2.3-18-g5258