2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #ifndef SDL_KEYBOARD_MOCK_H
- #define SDL_KEYBOARD_MOCK_H
-
- #include <bdd-for-c-mocks.h>
- #include "../../../src/packages/common/IZ_common.h"
-
- mock(SDL_GetKeyName) const char* SDL_GetKeyName(i32 key) {
- mock_return(SDL_GetKeyName) "";
- }
-
- mock(SDL_GetKeyFromName) i32 SDL_GetKeyFromName(const char *name) {
- mock_return(SDL_GetKeyFromName) 0;
- }
-
- #endif
|