#include #include #include "testing.h" #include "movetest.hh" using namespace SDL2pp; BEGIN_TEST(int, char*[]) Surface crate(TESTDATA_DIR "/crate.png"); MOVE_TEST(Surface, crate, Get, nullptr); { EXPECT_EQUAL(crate.GetWidth(), 32); EXPECT_EQUAL(crate.GetHeight(), 32); EXPECT_EQUAL(crate.GetSize(), Point(32, 32)); } END_TEST()