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.
 
 
 
 
 
 

16 lines
353 B

  1. #ifndef SDL_KEYBOARD_MOCK_H
  2. #define SDL_KEYBOARD_MOCK_H
  3. #include "../src/packages/game/IZ_common.h"
  4. #include "../src/packages/test/IZ_test.h"
  5. mock(SDL_GetKeyName) const char* SDL_GetKeyName(i32 key) {
  6. mock_return(SDL_GetKeyName) "";
  7. }
  8. mock(SDL_GetKeyFromName) i32 SDL_GetKeyFromName(const char *name) {
  9. mock_return(SDL_GetKeyFromName) 0;
  10. }
  11. #endif