Main.cpp 262 B

1234567891011121314151617
  1. #include <cstring>
  2. #include <iostream>
  3. #include "test/Test.h"
  4. int main(int argc, char** argv)
  5. {
  6. if(argc <= 0)
  7. {
  8. return 0;
  9. }
  10. if(argc >= 3 && strcmp(argv[1], "test") == 0)
  11. {
  12. Test::start(argv[2]);
  13. }
  14. return 0;
  15. }