This exercise is designed for you to explore arrays and unit testing in C#.
Pip the cat would like to set up an ice cream store with the following ice cream flavours encoded below. This is useful because it helps Pip identify the ice cream flavours without opening the ice cream tubs as that would ruin the ice cream.
- Pistachio: 0
- Raspberry Ripple: 1
- Vanilla: 2
- Mint Chocolate Chip: 3
- Chocolate: 4
- Mango Sorbet: 5
Pip has already made some starter code in Exercise003.cs.
Your job is to help Pip make the unit tests pass. You'll see a number of unit tests in Exercise003Tests.cs
Feel free to structure your code however you prefer to solve the exercise. We'd like to see clean code, so please keep clear separation of concerns, and the D.R.Y. (Don't Repeat Yourself) principle in mind.
Add additional unit tests to Exercise003Tests.cs
Time to move onto the instructions for Exercise004.