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

drop: Return sum of kept, not dropped, rolls as result [fixes #12] #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jeremy-w
Copy link

This is a one-line change to fix.

I made sure it was working using some tests. If you don't want those, feel free to drop that commit before merge.

Before, the dropped rolls were summed as the result.

Now, the kept rolls are summed instead.
Narrowly focused on fionafibration#12, not on characterizing eg bounds on drop count.

Run using `PYTHONPATH=rolldice pytest .` from the project root
directory. Assumes pytest and hypothesis have been installed.
@saif-ellafi
Copy link

Looking forward to this fix please!

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