Test Cases & Chat
Part 1
current
Test 1
input:addBatch(1,"b1","hotdog",10,100), getStock(1,"hotdog")β10, sell(5,"hotdog",3), getStock(5,"hotdog")β7
expect:[10, 7]
Test 2
input:Multiple items
expect:[5, 10]
Part 2
locked
Part 3
locked
Part 4
locked
Resume a session
Loading sessions...
or start fresh
Choose your coach
Pick a style and how you want to communicate
then
Loading...
OUTPUT
Run code to see output...
Part 1
current
Test 1
input:addBatch(1,"b1","hotdog",10,100), getStock(1,"hotdog")β10, sell(5,"hotdog",3), getStock(5,"hotdog")β7
expect:[10, 7]
Test 2
input:Multiple items
expect:[5, 10]
Part 2
locked
Part 3
locked
Part 4
locked
Resume a session
Loading sessions...
or start fresh
Choose your coach
Pick a style and how you want to communicate
then