-
Change the value of 'exeFileName' to your exefile name in generater.py (line 7)
(exeFileName = 'YourExeFileName')
-
Change the value of 'maxChar' to maximum character number you want.
(maxChar = MaximumCharacterNumberYouWant)
-
Type follow in directories that generater.py is exist.
python3 generater.py NumberOfYouWantTest
ex)
python3 generater.py 100
This will be test for 100 random txt files.
- randomTxtFiles : The random txt files
- In randomTxtFiles, there are txt files that generated named random_text_numberOfTested (e.g random_text_3)
- outPut1 : The output of your code
- In outPut1, there are output files named output1_numberOfTested (e.g output1_3).
- outPut2 : The output of samplewc209
- In outPut2, there are output files named output2_numberOfTested (e.g output2_3).
If your codes output is different from samplewc209, python code will stop the test and tell you what random txt file makes your code wrong.
For example, if your code different from samplewc209 at third random txt file, then python will stop the test and tell like below.
Different At 3 File !
Then, you can check that number 3 random txt file at
randomTxtFiles/random_text_3.txt