test: add pytest framework and initial test suite

Added pytest and pytest-mock to requirements.txt for testing infrastructure.

Created tests/ directory with comprehensive test coverage for:
- Text cleaning functions (figure references, whitespace, line numbers)
- Section extraction logic (abstract, claims, case sensitivity)

All 8 tests passing. This provides a foundation for test-driven
development as we continue building the LLM integration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-02-19 18:52:54 -05:00
parent 58f2bdc238
commit 6533cef56f
3 changed files with 107 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
"""Tests for SPARC patent analysis system."""