diff options
Diffstat (limited to 'test/test-network.cpp')
-rw-r--r-- | test/test-network.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-network.cpp b/test/test-network.cpp index e6241e4..a8db2b6 100644 --- a/test/test-network.cpp +++ b/test/test-network.cpp @@ -4,6 +4,8 @@ #include <boost/test/data/test_case.hpp> #include <boost/test/unit_test.hpp> +#include "testMainWindow.h" +#include "ui/applicationBase.h" #include <array> #include <collection.h> #include <game/network/link.h> @@ -18,6 +20,9 @@ #include <utility> #include <vector> +BOOST_GLOBAL_FIXTURE(ApplicationBase); +BOOST_GLOBAL_FIXTURE(TestMainWindow); + struct TestLink : public LinkStraight { TestLink(const Node::Ptr & a, const Node::Ptr & b) : TestLink {a, b, (a->pos - b->pos)} { } TestLink(Node::Ptr a, Node::Ptr b, glm::vec2 l) : Link {{std::move(a), 0}, {std::move(b), pi}, glm::length(l)} { } |