- #ifndef SDL_KEYBOARD_MOCK_H
- #define SDL_KEYBOARD_MOCK_H
-
- #include "../src/packages/test/IZ_test.h"
-
- mock(SDL_GetKeyName) const char* SDL_GetKeyName(int key) {
- mock_return(SDL_GetKeyName) "";
- }
-
- mock(SDL_GetKeyFromName) int SDL_GetKeyFromName(const char *name) {
- mock_return(SDL_GetKeyFromName) 0;
- }
-
- #endif
|