public void ExceptionDifferentDimensions1() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(4); vector1.CrossProduct(vector2); }
public void ExceptionDifferentDimensions1() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(4); Assert.Throws <ArgumentException>(() => vector1.CrossProduct(vector2)); }
public void Exception2x1() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(1); vector1.CrossProduct(vector2); }
public void Exception2x1() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(1); Assert.Throws <ArgumentException>(() => vector1.CrossProduct(vector2)); }
public void Exception4x2() { var vector1 = new VectorBaseTestObject(4); var vector2 = new VectorBaseTestObject(2); Assert.Throws <InvalidOperationException>(() => vector1.CrossProduct(vector2)); }
public void Exception2x2() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(2); Assert.Throws <NotImplementedException>(() => vector1.CrossProduct(vector2)); }
public void Exception3x3() { var vector1 = new VectorBaseTestObject(3); var vector2 = new VectorBaseTestObject(3); Assert.Throws <NotImplementedException>(() => vector1.CrossProduct(vector2), "CrossProductSafe"); }
public void ExceptionNullVector() { var vector1 = new VectorBaseTestObject(2); vector1.CrossProduct(null); }
public void ExceptionDifferentDimensions1() { var vector1 = new VectorBaseTestObject(2); var vector2 = new VectorBaseTestObject(4); vector1.CrossProduct(vector2); }
public void Exception4x2() { var vector1 = new VectorBaseTestObject(4); var vector2 = new VectorBaseTestObject(2); vector1.CrossProduct(vector2); }
public void ExceptionNullVector() { var vector1 = new VectorBaseTestObject(2); vector1.CrossProduct(null); }
public void ExceptionNullVector() { var vector1 = new VectorBaseTestObject(2); Assert.Throws <ArgumentNullException>(() => vector1.CrossProduct(null)); }