Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keyboard input tests #10

Open
healeycodes opened this issue Mar 16, 2024 · 0 comments
Open

Add keyboard input tests #10

healeycodes opened this issue Mar 16, 2024 · 0 comments

Comments

@healeycodes
Copy link
Owner

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

func (e *Editor) Update() error {

And mock out ebiten.IsKeyPressed?

This would have really helped with edge cases in #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant