public void GetHashCode_should_return_value_for_empty_array()
        {
            var instance = new IntCollection();

            instance.Collection = new int[0];
            instance.Count      = 0;

            var result = instance.GetHashCode();

            Assert.Equal(0, result);
        }
        public void GetHashCode_should_return_value_for_array()
        {
            var instance = new IntCollection();

            instance.Collection = new[] { 1, 2, 3, 4, 5, 6 };
            instance.Count      = 2;

            var result = instance.GetHashCode();

            Assert.NotEqual(0, result);
        }