psx emulator
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.

13 lines
279 B

  1. #include <stdio.h>
  2. #include "test.h"
  3. int main(int argc, char *argv[]) {
  4. printf("%s:\n", argv[0]);
  5. for (size_t i = 0; i < NUM_TEST_CASES; ++i) {
  6. printf(" * %s: ", TEST_CASES[i].name);
  7. TEST_CASES[i].test();
  8. printf("OK!\n");
  9. }
  10. return 0;
  11. }