public void InequalityIsCorrect() { BatchSegment segment1 = BatchSegment.Instance; CountSegment segment2 = CountSegment.Instance; Assert.False(segment1.Equals(segment2)); }
public void InequalityIsCorrect() { BatchSegment segment1 = BatchSegment.Instance; CountSegment segment2 = CountSegment.Instance; segment1.Equals(segment2).Should().BeFalse(); }
public void EqualityIsCorrect() { BatchSegment segment1 = BatchSegment.Instance; BatchSegment segment2 = BatchSegment.Instance; Assert.True(segment1.Equals(segment2)); }
public void EqualityIsCorrect() { BatchSegment segment1 = BatchSegment.Instance; BatchSegment segment2 = BatchSegment.Instance; segment1.Equals(segment2).Should().BeTrue(); }