TDD by Beck – Chapter 7 code on Git

The code for Chapter 7 – Apples and Oranges has been checked into GitHub.

CH 7 – Apples and Oranges
Here, comparing Francs and Dollars (within the Equals) method was a curiousity that was on the task list.
It was an objection – so a test was created, which failed.
This meant getting to green – through a Java mechanism, not a domain (finance) mechanism.
A bit uncomfortable as a solution – but not enough of a motivation to refactor the design just yet – so it is not perfect, but it will suffice for now.

Feedback is welcome.

This entry was posted in TDD and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s