A C# console application for a bakery, applying a discount before calculating the cost for a user's order.
- C#
- .NET 6
- MSTest
Welcome to Pierre's bakery! Use this console app to order bread and pastries from a fictional baker named Pierre. He offers some great deals.
- Copy the URL
- Open your preferred Terminal.
- Next, change your working directory to where you want the cloned directory to live for the course of looking at project.
- In your terminal, type
git clone
and insert the copied URL from Step 1. Or, copy the following git command:
$ git clone https://github.com/Schmelzberry/Pierre-Bakery.git
- Open your terminal and navigate to this project's directory.
- In the command line, navigate to the
Pierre
subdirectory and run the following command to compile and execute the console application$ dotnet run
- If you wish to see Model tests, from the command line, navigate to the
Pierre.Tests
subdirectory and run the following command from said subdirectory to run tests$ dotnet test
No known bugs.
Copyright (c) [2023] [Jake Elsberry]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.