public void ExceptionDifferentDimensions() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(4); vector1.Add(vector2); }
public void Exception1() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(2); vector1.Add(vector2); }
public void ExceptionDifferentDimensions() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(4); Assert.Throws <ArgumentException>(() => vector1.Add(vector2)); }
public void Exception1() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(2); Assert.Throws <NotImplementedException>(() => vector1.Add(vector2)); }
public void ExceptionDifferentDimensions() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(4); vector1.Add(vector2); }
public void Exception1() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(2); vector1.Add(vector2); }