Skip to content

Add tests #9

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

Merged
merged 3 commits into from
Jul 1, 2025
Merged

Add tests #9

merged 3 commits into from
Jul 1, 2025

Conversation

MadeWithStone
Copy link
Collaborator

Description

Add tests for model loading and inference on test images. Tests can be run with swift test.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How has this change been tested, please provide a testcase or example of how you tested the change?

tested by running tests using swift test

Any specific deployment considerations

Tests need to be run on macOS or iOS devices, they will not work in linux.

Docs

  • Docs updated? What were the changes: added readme section for running tests

Copy link
Contributor

@sberan sberan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good! The only issue I see is the printing of Test run with 0 tests passed after 0.001 seconds. at the end, but this is probably some swift quirk?

Code 2025-06-30 19 53 48

@MadeWithStone MadeWithStone merged commit 2b51151 into main Jul 1, 2025
@MadeWithStone MadeWithStone deleted the add-tests branch July 1, 2025 19:35
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.

2 participants