public void Equality_with_equals_true_when_same_object() { var snapshot = new ApdexSnapshot(new[] { 1L, 2L, 3L }, 0.5); object other = snapshot; snapshot.Equals(other).Should().Be(true); }
public void Equality_with_equals_false_when_not_same() { var snapshot = new ApdexSnapshot(new[] { 1L, 2L, 3L }, 0.5); var other = new ApdexSnapshot(new[] { 1L, 2L }, 0.5); snapshot.Equals(other).Should().Be(false); }