public void Given_twoPaperNotesWithSameFaceValue_When_Equals_Then_shouldReturnTrue() { // Given var paperNoteOne = new PaperNote(5); var paperNoteTwo = new PaperNote(5); // When var result = paperNoteOne.Equals(paperNoteTwo); // Then Assert.IsTrue(result); }
public void Given_twoPaperNotesWithDifferentFaceValues_When_Equals_Then_shouldReturnFalse() { // Given var paperNoteOne = new PaperNote(5); var paperNoteTwo = new PaperNote(10); // When var result = paperNoteOne.Equals(paperNoteTwo); // Then Assert.IsFalse(result); }