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

Implement Default for Settings struct #72

Open
KarlHeitmann opened this issue Jun 25, 2023 · 1 comment
Open

Implement Default for Settings struct #72

KarlHeitmann opened this issue Jun 25, 2023 · 1 comment

Comments

@KarlHeitmann
Copy link

Can I implement Default for Settings struct? I want to build more tests for this app, on this app is important to know the input/output of certain key functions. For example this one: print_unicode, you send it a GitGraph as input argument and it outputs a triplet of String<Vec>

By having the tests we can have living documentation on what every function has. A Default implementation for Settings will help me to build test data on the tests.

@mlange-42
Copy link
Owner

Sure, I don't see any arguments against that.

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

2 participants