Java/TrafficSimulator/resources/examples
Fernando Méndez 0d9f5a037d
Add files via upload
2020-09-17 20:11:27 +02:00
..
README.md Add files via upload 2020-09-17 20:11:27 +02:00
db.json Add files via upload 2020-09-17 20:11:27 +02:00
ex1.expout.json Add files via upload 2020-09-17 20:11:27 +02:00
ex1.json Add files via upload 2020-09-17 20:11:27 +02:00
ex2.expout.json Add files via upload 2020-09-17 20:11:27 +02:00
ex2.json Add files via upload 2020-09-17 20:11:27 +02:00
ex3.expout.json Add files via upload 2020-09-17 20:11:27 +02:00
ex3.json Add files via upload 2020-09-17 20:11:27 +02:00
ex4.json Add files via upload 2020-09-17 20:11:27 +02:00

README.md

This directory includes some input examples together with their expected output: the output expected for example "exname.json" is in "exname.expout.json". The file db.json includes the number of ticks used to generate each example. Don't modify any of these these files!.

You can use extra.testing.TestExamples to run your assignment on all these examples, and automatically compare the output to the expected one. If you change the place of this directory, you can pass the new path as a command-line argument to extra.testing.TestExamples. This program uses db.json in order to decide which examples to run and for how many ticks.