#pragma once #include #include "engine/data/bounds.hpp" #include "interfaces/matrix.hpp" template class MockMatrix : public IMatrix { public: // NOLINTNEXTLINE(modernize-use-trailing-return-type, readability-identifier-length) MAKE_MOCK1(fill, void(Element element), noexcept override); // NOLINTNEXTLINE(modernize-use-trailing-return-type, readability-identifier-length) MAKE_MOCK1(get, Element(const Vector2 &pos), const noexcept override); // NOLINTNEXTLINE(modernize-use-trailing-return-type, readability-identifier-length) MAKE_MOCK2(set, void(const Vector2 &pos, Element element), noexcept override); // NOLINTNEXTLINE(modernize-use-trailing-return-type) MAKE_MOCK0(get_row_cnt, uint32_t(), const noexcept override); // 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); // NOLINTNEXTLINE(modernize-use-trailing-return-type) MAKE_MOCK0(end, MatrixIterator(), const noexcept override); };