exercism/go/say/cmd/main.go

16 lines
204 B
Go
Raw Normal View History

2016-08-13 23:20:14 +00:00
package main
import (
"fmt"
"../../say"
)
func main() {
tst := []int{0, 14, 50, 98, -1, 100}
for i := range tst {
fmt.Println(say.GetPlaceValue(tst[i], 10))
//fmt.Println(say.Say(tst[i]))
}
}