It's a playground for comfortable testing the solution of the Codewars' kata in Go.
The playground works in offline (don't need internet connection).
- Copy the kata tests into kata/test.go (only
var _ = Describe[...]
). - Copy the kata solution into kata/solution.go (whole content).
- Modify a solution as you wish.
- Run app:
- in terminal run:
go run .
- in VSC press:
F5
orCtrl+F5
(results are shown in "debug console")
- in terminal run:
- Values of "solution" and "expected" are compared as texts.
- Keep in mind that your installed Go version can be different (usually newer) then in the Codewars' environment.
- Not all imports are allowed in the Codewars' environment.