Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tests for create_bot_player() Function with Successful and Existing Player Scenarios #190

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

Jagadeeshftw
Copy link
Contributor

Description

This PR adds test cases for the create_bot_player() function located in game_actions.cairo. The tests cover both successful bot creation scenarios and existing bot player scenarios to ensure the function works as expected in all cases.

Related Issue(s)

Closes #189

Checklist:

  • Read the contributing docs (if this is your first contribution)

  • Verified this is not a duplicate of any existing pull request

  • Performed a self-review of the code

  • Rebased to the last commit of the target branch (or merged it into my branch)

  • Linked the issues which this PR resolves

  • Documented the changes in code (API docs will be generated automatically)

Copy link

co-lead bot commented Jan 10, 2025

Thanks for your PR @Jagadeeshftw. It will be reviewed shortly.

@0xibs 0xibs merged commit a918ed8 into sivicstudio:dev Jan 10, 2025
1 of 2 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.

Test the create_bot_player() function
2 participants