Run Tests in go
- Create file ending with
_test.go. - Run:
go test
Test functions need to have the following signature:
func TestNewDeck(t *testing.T) {
// testing logic...
}
go_test.go.go test
Test functions need to have the following signature:
func TestNewDeck(t *testing.T) {
// testing logic...
}