Whenever you're ready, walk me through how you'd approach this.
What is your process for writing unit tests for a complex algorithmic solution at LemonEdge? Explain how you identify representative cases, edge cases, invalid inputs, numerical or state-related risks, and expected outputs without relying only on implementation details. Describe how you would organize the test suite, use fixtures or mocks where appropriate, automate execution in CI, and decide when coverage and confidence are sufficient.