You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if this should have been >= instead of > . The min_value_and_waste change policy was previously returning change for excess equal to the min value.
#15
Open
LLFourn opened this issue
Jan 3, 2024
· 3 comments
I'm wondering if this should have been `>=` instead of `>` . The `min_value_and_waste` change policy was previously returning change for excess equal to the min value.
For this test, should it also check that if the change policy min value is 0 and the drain value is 0, then drain_value still returns None (i.e. we don't include a drain with zero value)?
EDIT: Perhaps it would be simpler to keep it as > and let the user set the min value accordingly.
Originally posted by @jp1ac4 in #14 (comment)
Create a test for this.
The text was updated successfully, but these errors were encountered: