Skip to content

Submission Pull Request #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Conversation

plwestaxiom
Copy link

I have completed the Cash Register project as requested. I am sending this pull request for your evaluation. If there are any questions or comments, please contact me through my mobile number or email.

I appreciate this opportunity and l look forward to speaking with you in the near future.

plwest-atmark and others added 21 commits February 7, 2020 07:25
Updated xunit to 2.4.1
Updated xunit.runner.visualstudio to 2.4.1
Updated ccoverlet.collector to 1.2.0
Updated Microsoft.NET.Test.Sdk to 16.5.0
Unit Tests completed.

Some design flaws detected during coding. Will evaluate these and determine future course of action.

CashRegister.Tender return should be looked at. It seems too static at this point.

Money/Currency structure still needs works, and were somewhat difficult to setup good tests with their current design.
Initial structure and implementation completed.
Removed Currency "ToString" override and created "Display" method in the Tender Strategies interface.  This eleviates the Currency from doing work that can be handled by the strategy and decouples the response from the model object.
Updated TenderStrategy Display method with LINQ for string building.
Added Preface text for console upon starting application.
Removed period from exact change response string.
Discovered equation for div/3 was incorrect

Fixed equation
Moved "standard" calculation to base class to remove coupling of inhe…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants