public void Subtract() { double[,] expected = MakeResult(size, size, 10); FastMatrix matrix = MakeMatrix(size, size, 15); FastMatrix matrix2 = MakeMatrix(size, size, 5); VerifyResults(cpu.Subtract(matrix, matrix2), expected); }
public void Subtract() { Vector3[,] expected = MakeResult(size, size, fifteen); FastMatrix <Vector3> matrix = MakeMatrix(size, size, twenty); FastMatrix <Vector3> matrix2 = MakeMatrix(size, size, five); VerifyResults(cpu.Subtract(matrix, matrix2), expected); }
public void Subtract() { IntWrapper[,] expected = MakeResult(size, size, 10); FastMatrix <IntWrapper> matrix = MakeMatrix(size, size, 15); FastMatrix <IntWrapper> matrix2 = MakeMatrix(size, size, 5); VerifyResults(cpu.Subtract(matrix, matrix2), expected); }