|
|
@ -8,13 +8,13 @@ To run the tests make sure the two repositories are right next to each other: |
|
|
|
To test a function, run this command in this folder (`public/go/tests`): |
|
|
|
To test a function, run this command in this folder (`public/go/tests`): |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
``` |
|
|
|
go run github.com/01-edu/public/go/tests/func/EXERCISE_test |
|
|
|
go run github.com/01-edu/public/go/tests/func/isnegative_test |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
and a program: |
|
|
|
and a program: |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
``` |
|
|
|
go run github.com/01-edu/public/go/tests/prog/EXERCISE_test |
|
|
|
go run github.com/01-edu/public/go/tests/prog/printalphabet_test |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
Relative paths work anywhere in `public/go/tests`: |
|
|
|
Relative paths work anywhere in `public/go/tests`: |
|
|
|