Esempio n. 1
0
        public void ExceptionDifferentDimensions()
        {
            var vector1 = new VectorBaseTestObject(2);
            var vector2 = new VectorBaseTestObject(3);

            vector1.Subtract(vector2);
        }
Esempio n. 2
0
        public void Exception()
        {
            var vector1 = new VectorBaseTestObject(2);
            var vector2 = new VectorBaseTestObject(2);

            vector1.Subtract(vector2);
        }
Esempio n. 3
0
        public void ExceptionDifferentDimensions()
        {
            var vector1 = new VectorBaseTestObject(2);
            var vector2 = new VectorBaseTestObject(3);

            Assert.Throws <ArgumentException>(() => vector1.Subtract(vector2));
        }
Esempio n. 4
0
        public void Exception()
        {
            var vector1 = new VectorBaseTestObject(2);
            var vector2 = new VectorBaseTestObject(2);

            Assert.Throws <NotImplementedException>(() => vector1.Subtract(vector2));
        }
Esempio n. 5
0
 public void ExceptionVectorNull()
 {
     var vector1 = new VectorBaseTestObject(2);
     vector1.Subtract(null);
 }
Esempio n. 6
0
 public void ExceptionDifferentDimensions()
 {
     var vector1 = new VectorBaseTestObject(2);
     var vector2 = new VectorBaseTestObject(3);
     vector1.Subtract(vector2);
 }
Esempio n. 7
0
 public void Exception()
 {
     var vector1 = new VectorBaseTestObject(2);
     var vector2 = new VectorBaseTestObject(2);
     vector1.Subtract(vector2);
 }
Esempio n. 8
0
        public void ExceptionVectorNull()
        {
            var vector1 = new VectorBaseTestObject(2);

            vector1.Subtract(null);
        }
Esempio n. 9
0
        public void ExceptionVectorNull()
        {
            var vector1 = new VectorBaseTestObject(2);

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