Skip to content

Add unit tests for the run loop #53

@mdales

Description

@mdales

As we push more functionality into the run loop, we need to find a way to write tests for it. The challenge is that it also deals with SDL matters which have side effects like creating windows, which is not unit test friendly.

Can we abstract the SDL functionality so we can mock it and have a run loop that deals just with the update mechanics?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions