public void ShouldGenerateHashCodeForListPropertyObjectThatContainsNullElements() { var value = new ListProperty<string>(new string[] { null }); Assert.That(value.GetHashCode(), Is.EqualTo(HashCode.FromOneNull())); }
public void ShouldGenerateHashCodeForListPropertyObject() { var value = new ListProperty<int>(10, 20); Assert.That(value.GetHashCode(), Is.EqualTo(HashCode.From(10, 20))); }