calculateMaxAffordable isn't fully calculating up to directSum #70

Open
opened 2024-02-23 17:02:20 +00:00 by escapee · 0 comments
Collaborator

The calculateMaxAffordable calculations seem to be limited by the preSumAffordable check, which is appearing to be a redundant condition regardless.

  • Make sure existing tests still pass if the check is removed
  • Add more tests specifically around the behavior of this check
The calculateMaxAffordable calculations seem to be limited by the [preSumAffordable](https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/formulas/formulas.ts#L1490) check, which is appearing to be a redundant condition regardless. - [ ] Make sure existing tests still pass if the check is removed - [ ] Add more tests specifically around the behavior of this check
escapee self-assigned this 2024-02-23 17:02:20 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: profectus/Profectus#70
No description provided.