Move the inline assertions from jay_diff.py into tests/test_jay_diff.py as proper pytest functions, grouped by function under test. Add corner cases for numeric/bool/None/list values, completely different structures, empty containers, deep nesting, type changes (dict↔scalar), and parametrised round-trip tests (diff→merge produces new). Two bugs fixed during the exercise: - jay_diff_rev: guard against _old being a non-dict (type change from dict to scalar caused TypeError on item assignment) - jay_merge_delete / jay_merge_update: already fixed in previous commit; covered by new tests Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 lines
0 B
Python
0 lines
0 B
Python
The file is empty.