Goal
- Transform test method so that:
- The inputs and outputs are strings with """ and dedent
- The output being checked with
self.assert_equal() - Follow the directions in
.claude/skills/testing.rules.md # Writing Test Code## Code Formatting in Tests# Test Input and Output Handling## Compare Whole Output with assert_equal, Not Piecewise
- Factor out as much code as possible in helper functions
- Follow the directions in
.claude/skills/testing.rules.md ## Use Helper Methods When You Have Repetitive Tests
- Do not change the intent of the test
Verification
- [ ] Run the tests to make sure that the tests are passing