mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-04 03:15:59 -04:00
Fix EventWait tests
This commit is contained in:
parent
5a2c813300
commit
24c172d7ad
@ -1,5 +1,6 @@
|
|||||||
#include <SDL_main.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
|
#include <SDL2pp/SDL.hh>
|
||||||
#include <SDL2pp/EventWait.hh>
|
#include <SDL2pp/EventWait.hh>
|
||||||
|
|
||||||
#include "testing.h"
|
#include "testing.h"
|
||||||
@ -8,6 +9,8 @@ using namespace SDL2pp;
|
|||||||
using namespace SDL2pp::Event;
|
using namespace SDL2pp::Event;
|
||||||
|
|
||||||
BEGIN_TEST(int, char*[])
|
BEGIN_TEST(int, char*[])
|
||||||
|
const SDL sdl(SDL_INIT_EVENTS);
|
||||||
|
|
||||||
// Test wait event with no timeout
|
// Test wait event with no timeout
|
||||||
{
|
{
|
||||||
SDL_Event expected;
|
SDL_Event expected;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user