mlange-42 / git-graph

Command line tool to show clear git graphs arranged for your branching model
MIT License
517 stars 20 forks source link

Implement `Default` for `Settings` struct #72

Open KarlHeitmann opened 1 year ago

KarlHeitmann commented 1 year ago

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 commented 1 year ago

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