Skip to content

Add test cases to improve code coverage#21

Open
PytLab wants to merge 1 commit into
masterfrom
feature/add-tests
Open

Add test cases to improve code coverage#21
PytLab wants to merge 1 commit into
masterfrom
feature/add-tests

Conversation

@PytLab
Copy link
Copy Markdown
Owner

@PytLab PytLab commented May 15, 2026

Summary

  • Add test cases for previously untested modules: functions, electro, plotter, elements, errors
  • Increase overall coverage from ~70% to 76%
  • functions.py: 0% → 100%, elements.py: 0% → 100%, errors.py: 0% → 100%
  • Fix np.strstr for numpy 2.0 compatibility in atomco.py

Test plan

  • All 85 tests pass locally
  • Coverage verified: 76% overall
  • CI passes on GitHub Actions

🤖 Generated with Claude Code

…modules

Increase coverage from ~70% to 76% by adding tests for previously
untested modules. Also fix np.str -> str for numpy 2.0 compatibility.

Co-Authored-By: deepseek-v4-pro <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant