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 be12211b79
Externalize RC (github.com/01-edu/rc)
4 years ago
..
base Switch to Go modules, update Go version 4 years ago
func Switch to Go modules, update Go version 4 years ago
lib Refactor the way Go exercises are tested to make it easy to test 4 years ago
prog Switch to Go modules, update Go version 4 years ago
Dockerfile Externalize RC (github.com/01-edu/rc) 4 years ago
README.md Use real exercise names 4 years ago
entrypoint.sh Refactor the way Go exercises are tested to make it easy to test 4 years ago
go.mod Externalize RC (github.com/01-edu/rc) 4 years ago
go.sum Externalize RC (github.com/01-edu/rc) 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 a function, run this command in this folder (public/go/tests):

go run github.com/01-edu/public/go/tests/func/isnegative_test

and a program:

go run github.com/01-edu/public/go/tests/prog/printalphabet_test

Relative paths work anywhere in public/go/tests:

go run ./prog/printalphabet_test
cd prog
go run ./printalphabet_test
go run ../func/isnegative_test/

No output means success.