Skip to content

Add tests chapter08 v8#93

Merged
COsborn2 merged 4 commits into
v8.0from
add-tests-chapter08-v8
Sep 3, 2019
Merged

Add tests chapter08 v8#93
COsborn2 merged 4 commits into
v8.0from
add-tests-chapter08-v8

Conversation

@COsborn2
Copy link
Copy Markdown
Contributor

@COsborn2 COsborn2 commented Sep 1, 2019

No description provided.

}

[TestMethod]
public void CompareTo_ObjLargerThanThis_Return1()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test and the one above appear to have the same condition name. One should be renamed

Comment thread src/Chapter08/Listing08.03.ImplementingAnInterface.cs Outdated
// Split the assigned value into
// first and last names
string[] names;
names = value.Split(new char[] { ' ' });
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the original not combine the declaration and assignment?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It did not. I lifted the Name property from a previous listing. Other properties were not included in the listing so I didn't have to make a book update. So I can change the property to an override above as well.

@COsborn2 COsborn2 merged commit 47ab1bd into v8.0 Sep 3, 2019
@COsborn2 COsborn2 deleted the add-tests-chapter08-v8 branch September 24, 2019 19:37
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