Write the tests
Generates test cases that cover normal use, edges and failures.
Claude 'slash codes': Coding / Tech
Write tests for the code below using [TEST FRAMEWORK]. Cover normal cases, boundary values, invalid input and failure paths. Name each test after the behaviour it checks. Before the code, give a short table of the cases and what each one proves. Tell me about any behaviour that is unclear from the code, so I can decide what is correct. Code: [PASTE CODE]