Closed e00E closed 4 years ago
Instead of relying on the assert we use a wrapper struct which implements TryFrom. This prevents accidental panics if the assertion fails by making it more clear when the requirements on points are checked and turning them into an Error.
Error
New unit tests.
Instead of relying on the assert we use a wrapper struct which implements TryFrom. This prevents accidental panics if the assertion fails by making it more clear when the requirements on points are checked and turning them into an
Error
.Test Plan
New unit tests.