mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Add Surface move test
This commit is contained in:
parent
cebaa53dcb
commit
b26842cf98
@ -3,12 +3,15 @@
|
||||
#include <SDL2pp/Surface.hh>
|
||||
|
||||
#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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user