Skip to content

Improve test assertions and fix docstring#22

Merged
Ickaser merged 1 commit into
LyoHUB:mainfrom
SECQUOIA:pr/test-improvements
Mar 30, 2026
Merged

Improve test assertions and fix docstring#22
Ickaser merged 1 commit into
LyoHUB:mainfrom
SECQUOIA:pr/test-improvements

Conversation

@bernalde
Copy link
Copy Markdown
Contributor

Summary

  • Replace weak len() assertions with exact value checks in TestIneqConstraints
  • Fix misleading copy-paste docstring in test_short_time

Test plan

  • All existing tests pass

🤖 Generated with Claude Code

- Replace weak len() assertions with exact value checks in TestIneqConstraints
- Fix misleading docstring in test_short_time

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread tests/test_functions.py
Missing coverage: lines 167-172 in functions.py
"""
# Test case 1: Normal case
# Test case 1: Normal case -- both constraints satisfied
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this get modified in a concurrent PR?

@Ickaser
Copy link
Copy Markdown
Member

Ickaser commented Mar 28, 2026

Seems alright I think, just letting tests run before merging

@Ickaser Ickaser merged commit 2bd072e into LyoHUB:main Mar 30, 2026
3 checks passed
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.

2 participants