您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

31 行
644 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the Do What The Fuck You Want To
  7. // Public License, Version 2, as published by Sam Hocevar. See
  8. // http://www.wtfpl.net/ for more details.
  9. //
  10. #if defined HAVE_CONFIG_H
  11. # include "config.h"
  12. #endif
  13. #include <cstdio>
  14. #include <cstdlib>
  15. #include <lol/main.h>
  16. #include <lol/unit.h>
  17. int main(int argc, char **argv)
  18. {
  19. UNUSED(argc, argv);
  20. lol::TextTestRunner runner;
  21. bool success = runner.Run();
  22. return success ? EXIT_SUCCESS : EXIT_FAILURE;
  23. }