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

Unit test return random number #9

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

Sedighe-Raeisi
Copy link

Description

I created a test file for the create_random_number function.
Please check it.

Anish-Hs and others added 25 commits July 29, 2024 11:32
I fixed the issue #5  and #3
Division by zero is excluded #5
I add a print line that says b can't be zero
I moved the print into the condition block
Updating return_random_number
I resolved the conflict with rand region
add a space before b
Update from Sedighe branch utils.py
I added the seed into rand function
I created a test using try-except for the function return_random_number.
seed added
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.

3 participants