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

write tests for cobuying algorithms #452

Closed gregorykan closed 6 years ago

iainkirkpatrick commented 6 years ago

got basic deepEquality tests covering all the getters that make up the algorithm for intents -> plans (and representation of plans on the client before they're confirmed)... there are a few important other cases to cover in some of them, as well as unhappy paths perhaps?

danalexilewis commented 6 years ago

Iain can you size this ticket?

iainkirkpatrick commented 6 years ago

done. also not to self that the 'supply' domain getters used in the algorithms aren't covered yet