Open example
directory (cd example
)
Use command : go run main.go -task="TASK_NAME"
.
That command has three flags :
-input
- path to input file (by default example/input.txt).
-output
- path to output file (by default example/output.txt).
-task
- which task is using.
- task1 - DigitalLab
- task2 - RGBGame (have no output file)
Open main directory
Use command : go test -v
Note : If you want to change task2_test.txt
file after every board should written \n
byte.