travis-ci
8 of 8 new or added lines in 2 files covered. (100.0%)
33 of 57 relevant lines covered (57.89%)
0.65 hits per line
1 |
package helpers
|
|
2 |
|
|
3 |
// Min returns the smaller of x or y.
|
|
|
func Min(x, y int) int { |
1✔ |
|
if x > y {
|
2✔ |
|
return y
|
1✔ |
|
} |
1✔ |
|
return x
|
× |
9 |
} |