math icon indicating copy to clipboard operation
math copied to clipboard

Debug trait with meaningful output

Open Marcel583 opened this issue 1 year ago • 0 comments

Description

This PR implements the Debug trait for all types by using our to_string method, so users do not get pointers as a debug message.

Testing

  • [x] I added basic working examples (possibly in doc-comment)
  • [x] I added tests for large (pointer representation) values
  • [x] I triggered all possible errors in my test in every possible way
  • [x] I included tests for all reasonable edge cases

Checklist:

  • [x] I have performed a self-review of my own code
    • [x] The code provides good readability and maintainability s.t. it fulfills best practices like talking code, modularity, ...
      • [x] The chosen implementation is not more complex than it has to be
    • [x] My code should work as intended and no side effects occur (e.g. memory leaks)
    • [x] The doc comments fit our style guide
    • [x] I have credited related sources if needed

Marcel583 avatar Mar 19 '25 17:03 Marcel583