Skip to content

Submission Pull Request#54

Open
plwestaxiom wants to merge 21 commits intoSoftWriters:masterfrom
plwestaxiom:master
Open

Submission Pull Request#54
plwestaxiom wants to merge 21 commits intoSoftWriters:masterfrom
plwestaxiom:master

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

Comments