Skip to content

The objectives is simple : pricing goods at supermarkets according to diverses pricing rules

Notifications You must be signed in to change notification settings

Nathan4KImpact/kata-supermarket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

kata-supermarket

Supermarket Pricing

The problem domain is something simple: pricing goods at supermarkets.

Some things in supermarkets have simple prices: this can of beans costs $0.65. Other things have more complex prices. For example: • three for a dollar (so what’s the price if I buy 4, or 5?) • $1.99/pound (so what does 4 ounces cost?) • buy two, get one free (so does the third item have a price?)

The exercise is to experiment with a model that is flexible enough to deal with these (and other) pricing schemes, and at the same time are generally usable how do you keep an audit trail of pricing decisions.

About

The objectives is simple : pricing goods at supermarkets according to diverses pricing rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages