Skip to content

Add pytest suite for flood and heatwave risk calculation logic#261

Open
Muskankr wants to merge 1 commit into
thetechguardians:mainfrom
Muskankr:test/risk-calculation
Open

Add pytest suite for flood and heatwave risk calculation logic#261
Muskankr wants to merge 1 commit into
thetechguardians:mainfrom
Muskankr:test/risk-calculation

Conversation

@Muskankr

Copy link
Copy Markdown

Fixes #253

Changes:

  • Added tests/test_alertsystem.py with unit tests for flood and heatwave risk scoring.
  • Covered normal and edge cases (0% humidity, extreme temperatures).
  • Added pytest to requirements.txt.

Result:
Risk calculation logic is now verified automatically, improving reliability and maintainability.

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.

No test suite for risk calculation logic

1 participant