Browse Source

Fix base exercises, remove one useless folder

pull/533/head
Xavier Petit 5 years ago committed by xpetit
parent
commit
c9800d5f6c
  1. 2
      tests/go/solutions/convertbase.go
  2. 11
      tests/go/solutions/testConvertBase/main.go
  3. 2
      tests/go/test_convertbase.go

2
tests/go/solutions/convertbase.go

@ -20,3 +20,5 @@ func ConvertBase(nbr, baseFrom, baseTo string) string {
return resultFinal
}
// TODO: fix base exercises

11
tests/go/solutions/testConvertBase/main.go

@ -1,11 +0,0 @@
package main
import (
"fmt"
correct "./correct"
)
func main() {
fmt.Println(correct.AtoiBase("111", "01"))
}

2
tests/go/test_convertbase.go

@ -39,3 +39,5 @@ func main() {
z01.Challenge("ConvertBase", student.ConvertBase, correct.ConvertBase, arg.nbr, arg.baseFrom, arg.baseTo)
}
}
// TODO: fix base exercises

Loading…
Cancel
Save