tracks/go/exercises/trinary/example.go in trackler-2.2.1.56 vs tracks/go/exercises/trinary/example.go in trackler-2.2.1.57
- old
+ new
@@ -3,11 +3,9 @@
import (
"fmt"
"math"
)
-const testVersion = 1
-
func ParseTrinary(s string) (int64, error) {
const third = math.MaxInt64 / 3
overflow := false
var d int64
for _, r := range s {