2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

15 行
309 B

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