Skip to content

Conversation

@kurtlindberg
Copy link
Contributor

Additional patches to Issue #10

pyCatSim/pyCatSim/api/cat.py

  • 'duration' argument in Cat.sleep() changed from an optional argument (default=0) to a required argument

pyCatSim/pyCatSim/tests/test_api_Cat.py

  • added assertion for test parameter where increase in cat.energy is greater than 0 in TestcatCatSleep.test_sleep_t0()

@khider
Copy link
Owner

khider commented May 30, 2025

test not passing

@kurtlindberg
Copy link
Contributor Author

Will resubmit PR later through an updated fork of pyCatSim

@kurtlindberg kurtlindberg deleted the fix_sleep branch June 2, 2025 22:26
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