public void ShouldAddToCount()
            {
                var vector = new VectorAdt <int>();

                vector.Add(1);
                vector.Count.Should().Be(1);
            }
            public void ShouldNotChangeCapacityWhenUnderLimit()
            {
                var vector = new VectorAdt <int>();

                vector.Add(1);
                vector.Capacity.Should().Be(vectorInitialCapacity);
            }
                public void ShouldHaveNewOrganizationForVector()
                {
                    var expectedVector = new VectorAdt <int>();

                    expectedVector.Add(1, 5, 2, 3, 4);
                    (vector == expectedVector).Should().BeTrue();
                }
            public void ShouldReturnValueAdded()
            {
                var vector = new VectorAdt <int>();

                vector.Add(1);
                vector[0].Should().Be(1);
            }
            public void ShouldAddObjectToList()
            {
                var vector = new VectorAdt <int>();

                vector.Add(1);
                vector[0].Should().Be(1);
            }
            public void ShouldAddMultipleObjectsToList()
            {
                var vector = new VectorAdt <int>();

                vector.Add(1, 2, 3, 4);
                vector.Count.Should().Be(4);
            }
            public void ShouldReturnFalseWithValues()
            {
                var vector = new VectorAdt <int>();

                vector.Add(1, 2, 3);

                vector.Empty().Should().BeFalse();
            }
            public void ShouldSetCountToZero()
            {
                var vector = new VectorAdt <int>();

                vector.Add(1, 2, 3);
                vector.Clear();

                vector.Count.Should().Be(0);
            }
            public void ShouldCreateWithCopiedArray()
            {
                var vector = new VectorAdt <int>();

                vector.Add(1, 2, 3, 4, 5);

                var secondVector = new VectorAdt <int>(vector);

                vector.Should().BeEquivalentTo(secondVector);
            }
            public void ShouldSetNewValue()
            {
                var vector = new VectorAdt <int>();

                vector.Add(1);

                vector[0] = 2;

                vector[0].Should().Be(2);
            }
            public void ShouldHaveDifferentValueInIndex()
            {
                const int valueToRemove = 3;
                const int indexToRemove = 2;
                var       vector        = new VectorAdt <int>();

                vector.Add(1, 2, 3, 4);
                vector.RemoveAt(indexToRemove);
                vector[indexToRemove].Should().Be(4);
            }
            public void ShouldBeEqual()
            {
                VectorAdt <int> first = new VectorAdt <int>();

                first.Add(1, 2, 3);

                VectorAdt <int> second = new VectorAdt <int>(first);

                (first == second).Should().BeTrue();
            }
            public void ShouldDoubleCapacityWhenOverLimit()
            {
                var vector = new VectorAdt <int>();

                for (int i = 0; i < vectorInitialCapacity + 1; i++)
                {
                    vector.Add(i);
                }

                vector.Capacity.Should().Be(vectorInitialCapacity * 2);
            }
            public void ShouldSubtractFromCount()
            {
                int startCount;
                var vector = new VectorAdt <int>();

                vector.Add(1, 2, 3);
                startCount = vector.Count;

                vector.Remove(2);
                vector.Count.Should().Be(startCount - 1);
            }
            public void ShouldThrowIndexOutOfRangeAfterClear()
            {
                var vector = new VectorAdt <int>();

                vector.Add(1, 2, 3);
                vector.Clear();

                Action act = () => vector.Get(0);

                act.Should().Throw <IndexOutOfRangeException>();
            }
            public void ShouldNotBeEqual()
            {
                VectorAdt <int> first = new VectorAdt <int>();

                first.Add(1, 2, 3);

                VectorAdt <int> second = new VectorAdt <int>();

                second.Add(4, 5, 6);

                (first == second).Should().BeFalse();
            }
            public void ShouldBeEnumerable()
            {
                var vector = new VectorAdt <int>();

                vector.Add(1, 2, 3, 4);

                var copyVector = new VectorAdt <int>();

                foreach (var curr in vector)
                {
                    copyVector.Add(curr);
                }

                (vector == copyVector).Should().BeTrue();
            }
 public void AddAtSecondPosition()
 {
     vector = new VectorAdt <int>();
     vector.Add(1, 2, 3, 4);
     vector.AddAt(5, 1);
 }