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 MockPlatform which mocks Platform interface #6

Merged
merged 3 commits into from
Jun 10, 2024

Conversation

blmarket
Copy link
Contributor

@blmarket blmarket commented Jun 8, 2024

It allows an unit test to control clocks.

For usages, see noxworld-dev/opennox#698

It allows an unit test to control clocks.

For usages, see noxworld-dev/opennox#698
noxtest/test_platform.go Outdated Show resolved Hide resolved
noxtest/test_platform.go Outdated Show resolved Hide resolved
blmarket and others added 2 commits June 9, 2024 15:41
Co-authored-by: Denys Smirnov <dennwc@protonmail.com>
Co-authored-by: Denys Smirnov <dennwc@protonmail.com>
@dennwc dennwc merged commit 738fab1 into noxworld-dev:main Jun 10, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants