dimanche 3 mai 2015

Testing various standard inputs in Console App C#

I'm relatively new in C#, so, I have an assignment where I need to make simulation of Deterministic Pushdown Automata and I have 25 available definitions of Automata and I need to test them and see do I get wanted result. So I was wondering if any1 could help me, or give some hint, how to make a some sort of script, app or something that would take text files, execute it with my Console app and compare it with given results.

Till now, I've been doing in command line this "program.exe < input.txt" and then compare manually resaults, but my next assignment has 1026 examples and I won't do "program.exe < input.txt" 1026 times..tnx :)

Aucun commentaire:

Enregistrer un commentaire