mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-08-28 05:25:25 +00:00
- 59 test files covering unit and integration tests - vitest config with coverage thresholds and fork pooling - Test fixtures (mini-repo + multi-language sample code) - Add vitest + coverage-v8 to devDependencies - Add test scripts (test, test:integration, test:all, test:watch, test:coverage) - Move typescript to devDependencies where it belongs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
317 B
Python
14 lines
317 B
Python
def public_function(x: int, y: int) -> int:
|
|
"""A public function."""
|
|
return x + y
|
|
|
|
def _private_helper(data: str) -> str:
|
|
"""A private helper function."""
|
|
return data.strip()
|
|
|
|
class Calculator:
|
|
def add(self, a: int, b: int) -> int:
|
|
return a + b
|
|
|
|
def _reset(self) -> None:
|
|
pass
|