Add a test that covers input/actions/movement controls and checks the output is correct.
Perhaps we can manually call the update function:
|
func (e *Editor) Update() error { |
And mock out ebiten.IsKeyPressed?
This would have really helped with edge cases in #9
Add a test that covers input/actions/movement controls and checks the output is correct.
Perhaps we can manually call the update function:
noter/editor.go
Line 743 in 472737f
And mock out
ebiten.IsKeyPressed?This would have really helped with edge cases in #9