Skip to content

Conversation

@Duyi-Li
Copy link
Contributor

@Duyi-Li Duyi-Li commented May 29, 2025

Summary

This pull request introduces a new bathe() method to the Cat class in cat.py. When the cat bathes, its mood parameter decreases by 1 and its health parameter increases by 1.

Changes

  • Added bathe() method to Cat class
  • Updated the corresponding test in test_api_Cat.py to cover the new behavior
  • Modified .gitignore and metadata files automatically during development

Related

Closes #13

@khider khider merged commit 70540b3 into khider:main May 29, 2025
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.

Create a function to bathe the cat

2 participants