Skip to content

Commit

Permalink
Add missing test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusOtter committed Nov 17, 2019
1 parent a4102f2 commit 3180f0b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/ApodTests/ApodContentTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ public void Equals_Object_OtherTypeReturnsFalse(object otherObject)
Assert.False(result);
}

[Fact]
public void Equals_Object_SameApodObjectReturnsTrue()
{
var inputA = _exampleContent;
var inputB = (object) _exampleContentCopy;

var result = inputA.Equals(inputB);

Assert.True(result);
}

[Fact]
public void Equals_ApodContent_NullReturnsFalse()
{
Expand Down

0 comments on commit 3180f0b

Please sign in to comment.