git clone https://github.com/efrence/checkout.git
cd checkout
bundle install
rake test
Run options: --seed 19722
# Running:
...........
Finished in 0.001714s, 6417.7363 runs/s, 12252.0420 assertions/s.
11 runs, 21 assertions, 0 failures, 0 errors, 0 skips
Arrow indicates what the file depends on.
flowchart TD
C[Checkout::SpecialsApplier] --> D[Checkout::DiscountDetector]
A[main.rb] --> B[Checkout::Cart]
B --> E[Checkout::Printer]
B --> C
A --> F[ProductCatalog]