root-systems / cobuy

:seedling: :package: :stew: :family: Helping people buy good food at good prices, together.
GNU Affero General Public License v3.0
25 stars 4 forks source link

Tests/cobuying algorithms #454

Closed iainkirkpatrick closed 6 years ago

iainkirkpatrick commented 6 years ago

coverage of the getters used in the two applications of the buying algorithm (intents -> plans, and displaying current state of group intents on the client)

interested in thoughts on:

this is s start for now at least, makes it easier to protect / refactor these getters if need be

closes #452

ahdinosaur commented 6 years ago

does this test all the "unhappy paths", all the possible ways to break the algorithm?