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

Separated tests into their own module. #139

Closed
wants to merge 2 commits into from
Closed

Separated tests into their own module. #139

wants to merge 2 commits into from

Conversation

tfpf
Copy link
Owner

@tfpf tfpf commented Feb 16, 2024

No description provided.

tfpf added 2 commits February 17, 2024 00:36
Also restored standard module use to where it was.
@tfpf tfpf marked this pull request as ready for review February 16, 2024 19:24
@tfpf
Copy link
Owner Author

tfpf commented Feb 16, 2024

According to The Rust Programming Language,

You’ll put unit tests in the src directory in each file with the code that they’re testing. The convention is to create a module named tests in each file to contain the test functions and to annotate the module with cfg(test).

so this is not needed.

@tfpf tfpf closed this Feb 16, 2024
@tfpf tfpf deleted the tests-sep branch February 16, 2024 19:30
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.

1 participant