mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xpetit
d8c9b6a79b
|
4 years ago | |
---|---|---|
.. | ||
lib | 4 years ago | |
solutions | 4 years ago | |
tests | 4 years ago | |
Dockerfile | 4 years ago | |
README.md | 4 years ago | |
entrypoint.sh | 4 years ago | |
go.mod | 4 years ago | |
go.sum | 4 years ago |
README.md
Tests
To run the tests make sure the two repositories are right next to each other:
- github.com/01-edu/piscine-go
- github.com/01-edu/public
To test an exercise, run this command in this folder (public/test-go
):
go run github.com/01-edu/public/test-go/tests/isnegative_test
Relative paths work anywhere in public/test-go
:
go run ./tests/printalphabet_test
cd tests
go run ./isnegative_test
No output means success.