Пример #1
0
        public void ExceptionDifferentDimensions()
        {
            var vector1 = new VectorBaseTestObject(2);
            var vector2 = new VectorBaseTestObject(3);

            vector1.Swap(vector2);
        }
Пример #2
0
        public void ExceptionDifferentDimensions()
        {
            var vector1 = new VectorBaseTestObject(2);
            var vector2 = new VectorBaseTestObject(3);

            Assert.Throws <ArgumentException>(() => vector1.Swap(vector2));
        }
Пример #3
0
 public void ExcpetionNullOther()
 {
     var vector1 = new VectorBaseTestObject(2);
     vector1.Swap(null);
 }
Пример #4
0
 public void ExceptionDifferentDimensions()
 {
     var vector1 = new VectorBaseTestObject(2);
     var vector2 = new VectorBaseTestObject(3);
     vector1.Swap(vector2);
 }
Пример #5
0
        public void ExcpetionNullOther()
        {
            var vector1 = new VectorBaseTestObject(2);

            vector1.Swap(null);
        }
Пример #6
0
        public void ExcpetionNullOther()
        {
            var vector1 = new VectorBaseTestObject(2);

            Assert.Throws <ArgumentNullException>(() => vector1.Swap(null));
        }