Advertisement
gur111

Ex1 Dry Pt1 Tester Instructions

Apr 12th, 2020
958
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.85 KB | None | 0 0
  1. # Download the object file https://drive.google.com/a/dlhschool.com/file/d/10W68d55ghqVx63TJq0n7Z2NymG2nqAzb/view?usp=sharing
  2. # Transfer the object file to the server (or place it on any linux machine)
  3. # compile it with your code:
  4. gcc -std=c99 -o map -Wall -pedantic-errors -Werror tester.o YOUR_C_FILE.c -o tester
  5. # Your code needs to have the function mergeSortedList as it is defined in the exercise.
  6.  
  7. # Run the tester like so:
  8. ./tester NUM_OF_TESTS
  9. # Start with a small number. Something like 3 tests. When you're confident your code is working you can run even 1 million tests, it doesn't take too long, maybe a minute or so.
  10. # The tests are randomly generated so every time your run the tester, it will test your function with different data.
  11. # Also note, if you make changes to your code, you will need to re-compile the tester again with your code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement