diff --git a/src/Local.testsettings b/src/Local.testsettings
deleted file mode 100644
index 6cb36d7c..00000000
--- a/src/Local.testsettings
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
- These are default test settings for a local test run.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/MSUnitTests/AssertHelpers.cs b/src/MSUnitTests/AssertHelpers.cs
deleted file mode 100644
index c8d4af62..00000000
--- a/src/MSUnitTests/AssertHelpers.cs
+++ /dev/null
@@ -1,281 +0,0 @@
-//
-// Math.NET Numerics, part of the Math.NET Project
-// http://numerics.mathdotnet.com
-// http://github.com/mathnet/mathnet-numerics
-// http://mathnetnumerics.codeplex.com
-//
-// Copyright (c) 2009-2010 Math.NET
-//
-// Permission is hereby granted, free of charge, to any person
-// obtaining a copy of this software and associated documentation
-// files (the "Software"), to deal in the Software without
-// restriction, including without limitation the rights to use,
-// copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the
-// Software is furnished to do so, subject to the following
-// conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-// OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace MathNet.Numerics.UnitTests
-{
- using System.Collections.Generic;
- using System.Numerics;
- using Microsoft.VisualStudio.TestTools.UnitTesting;
-
- ///
- /// A class which includes some assertion helper methods particularly for numerical code.
- ///
- internal class AssertHelpers
- {
- ///
- /// Asserts that the expected value and the actual value are equal.
- ///
- /// The expected value.
- /// The actual value.
- public static void AreEqual(Complex expected, Complex actual)
- {
- if (expected.IsNaN() && actual.IsNaN())
- {
- return;
- }
-
- if (expected.IsInfinity() && expected.IsInfinity())
- {
- return;
- }
-
- bool pass = expected.Real.AlmostEqual(actual.Real);
- if (!pass)
- {
- Assert.Fail("Real components are not equal. Expected:{0}; Actual:{1}", expected.Real, actual.Real);
- }
-
- pass = expected.Imaginary.AlmostEqual(actual.Imaginary);
- if (!pass)
- {
- Assert.Fail("Imaginary components are not equal. Expected:{0}; Actual:{1}", expected.Imaginary, actual.Imaginary);
- }
- }
-
- ///
- /// Asserts that the expected value and the actual value are equal.
- ///
- /// The expected value.
- /// The actual value.
- public static void AreEqual(Complex32 expected, Complex32 actual)
- {
- if (expected.IsNaN() && actual.IsNaN())
- {
- return;
- }
-
- if (expected.IsInfinity() && expected.IsInfinity())
- {
- return;
- }
-
- bool pass = expected.Real.AlmostEqual(actual.Real);
- if (!pass)
- {
- Assert.Fail("Real components are not equal. Expected:{0}; Actual:{1}", expected.Real, actual.Real);
- }
-
- pass = expected.Imaginary.AlmostEqual(actual.Imaginary);
- if (!pass)
- {
- Assert.Fail("Imaginary components are not equal. Expected:{0}; Actual:{1}", expected.Imaginary, actual.Imaginary);
- }
- }
-
- ///
- /// Asserts that the expected value and the actual value are equal up to a certain number of decimal places. If both
- /// and are NaN then no assert is thrown.
- ///
- /// The expected value.
- /// The actual value.
- /// The number of decimal places to agree on.
- public static void AlmostEqual(double expected, double actual, int decimalPlaces)
- {
- if (double.IsNaN(expected) && double.IsNaN(actual))
- {
- return;
- }
-
- bool pass = expected.AlmostEqualInDecimalPlaces(actual, decimalPlaces);
- if (!pass)
- {
- // signals Gallio that the test failed.
- Assert.Fail("Not equal within {0} places. Expected:{1}; Actual:{2}", decimalPlaces, expected, actual);
- }
- }
-
- ///
- /// Asserts that the expected value and the actual value are equal up to a certain number of decimal places. If both
- /// and are NaN then no assert is thrown.
- ///
- /// The expected value.
- /// The actual value.
- /// The number of decimal places to agree on.
- public static void AlmostEqual(float expected, float actual, int decimalPlaces)
- {
- if (float.IsNaN(expected) && float.IsNaN(actual))
- {
- return;
- }
-
- bool pass = expected.AlmostEqualInDecimalPlaces(actual, decimalPlaces);
- if (!pass)
- {
- // signals Gallio that the test failed.
- Assert.Fail("Not equal within {0} places. Expected:{1}; Actual:{2}", decimalPlaces, expected, actual);
- }
- }
-
- ///
- /// Asserts that the expected value and the actual value are equal up to a certain number of decimal places.
- ///
- /// The expected value.
- /// The actual value.
- /// The number of decimal places to agree on.
- public static void AlmostEqual(Complex expected, Complex actual, int decimalPlaces)
- {
- bool pass = expected.Real.AlmostEqualInDecimalPlaces(actual.Real, decimalPlaces);
- if (!pass)
- {
- Assert.Fail("Real components are not equal within {0} places. Expected:{1}; Actual:{2}", decimalPlaces, expected.Real, actual.Real);
- }
-
- pass = expected.Imaginary.AlmostEqualInDecimalPlaces(actual.Imaginary, decimalPlaces);
- if (!pass)
- {
- Assert.Fail("Imaginary components are not equal within {0} places. Expected:{1}; Actual:{2}", decimalPlaces, expected.Imaginary, actual.Imaginary);
- }
- }
-
- ///
- /// Asserts that the expected value and the actual value are equal up to a certain number of decimal places.
- ///
- /// The expected value.
- /// The actual value.
- /// The number of decimal places to agree on.
- public static void AlmostEqual(Complex32 expected, Complex32 actual, int decimalPlaces)
- {
- bool pass = expected.Real.AlmostEqualInDecimalPlaces(actual.Real, decimalPlaces);
- if (!pass)
- {
- Assert.Fail("Real components are not equal within {0} places. Expected:{1}; Actual:{2}", decimalPlaces, expected.Real, actual.Real);
- }
-
- pass = expected.Imaginary.AlmostEqualInDecimalPlaces(actual.Imaginary, decimalPlaces);
- if (!pass)
- {
- Assert.Fail("Imaginary components are not equal within {0} places. Expected:{1}; Actual:{2}", decimalPlaces, expected.Imaginary, actual.Imaginary);
- }
- }
-
- ///
- /// Asserts that the expected value and the actual value are equal up to a certain
- /// maximum error.
- ///
- /// The type of the structures. Must implement
- /// .
- /// The expected value.
- /// The actual value.
- /// The accuracy required for being almost equal.
- public static void AlmostEqual(T expected, T actual, double maximumError)
- where T : IPrecisionSupport
- {
- if (!actual.AlmostEqualWithError(expected, maximumError))
- {
- Assert.Fail("Not equal within a maximum error {0}. Expected:{1}; Actual:{2}", maximumError, expected, actual);
- }
- }
-
- ///
- /// Asserts that the expected value and the actual value are equal up to a certain
- /// maximum error.
- ///
- /// The expected value list.
- /// The actual value list.
- /// The accuracy required for being almost equal.
- public static void AlmostEqualList(IList expected, IList actual, double maximumError)
- {
- for (int i = 0; i < expected.Count; i++)
- {
- if (!actual[i].AlmostEqualWithError(expected[i], maximumError))
- {
- Assert.Fail("Not equal within a maximum error {0}. Expected:{1}; Actual:{2}", maximumError, expected[i], actual[i]);
- }
- }
- }
-
- ///
- /// Asserts that the expected value and the actual value are equal up to a certain
- /// maximum error.
- ///
- /// The expected value list.
- /// The actual value list.
- /// The accuracy required for being almost equal.
- public static void AlmostEqualList(IList expected, IList actual, double maximumError)
- {
- for (int i = 0; i < expected.Count; i++)
- {
- if (!actual[i].AlmostEqualWithError(expected[i], maximumError))
- {
- Assert.Fail("Not equal within a maximum error {0}. Expected:{1}; Actual:{2}", maximumError, expected[i], actual[i]);
- }
- }
- }
-
- ///
- /// Asserts that the expected value and the actual value are equal up to a certain
- /// maximum error.
- ///
- /// The type of the structures. Must implement
- /// .
- /// The expected value list.
- /// The actual value list.
- /// The accuracy required for being almost equal.
- public static void AlmostEqualList(IList expected, IList actual, double maximumError)
- where T : IPrecisionSupport
- {
- for (int i = 0; i < expected.Count; i++)
- {
- if (!actual[i].AlmostEqualWithError(expected[i], maximumError))
- {
- Assert.Fail("Not equal within a maximum error {0}. Expected:{1}; Actual:{2}", maximumError, expected[i], actual[i]);
- }
- }
- }
-
- ///
- /// Asserts that the expected value and the actual value are equal up to a certain
- /// maximum error.
- ///
- /// The expected value list.
- /// The actual value list.
- /// The accuracy required for being almost equal.
- public static void AlmostEqualList(IList expected, IList actual, double maximumError)
- {
- for (int i = 0; i < expected.Count; i++)
- {
- if (!actual[i].AlmostEqualWithError(expected[i], maximumError))
- {
- Assert.Fail("Not equal within a maximum error {0}. Expected:{1}; Actual:{2}", maximumError, expected[i], actual[i]);
- }
- }
- }
- }
-}
diff --git a/src/MSUnitTests/LinearAlgebraProviderTests/Double/LinearAlgebraProviderTests.cs b/src/MSUnitTests/LinearAlgebraProviderTests/Double/LinearAlgebraProviderTests.cs
deleted file mode 100644
index c6a089dc..00000000
--- a/src/MSUnitTests/LinearAlgebraProviderTests/Double/LinearAlgebraProviderTests.cs
+++ /dev/null
@@ -1,439 +0,0 @@
-//
-// Math.NET Numerics, part of the Math.NET Project
-// http://numerics.mathdotnet.com
-// http://github.com/mathnet/mathnet-numerics
-// http://mathnetnumerics.codeplex.com
-//
-// Copyright (c) 2009-2010 Math.NET
-//
-// Permission is hereby granted, free of charge, to any person
-// obtaining a copy of this software and associated documentation
-// files (the "Software"), to deal in the Software without
-// restriction, including without limitation the rights to use,
-// copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the
-// Software is furnished to do so, subject to the following
-// conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-// OTHER DEALINGS IN THE SOFTWARE.
-//
-namespace MathNet.Numerics.UnitTests.LinearAlgebraProviderTests.Double
-{
- using System;
- using System.Collections.Generic;
- using Algorithms.LinearAlgebra;
- using LinearAlgebra.Double;
- using Microsoft.VisualStudio.TestTools.UnitTesting;
-
- ///
- /// Base class for linear algebra provider tests.
- ///
- [TestClass]
- public class LinearAlgebraProviderTests
- {
- ///
- /// Initializes a new instance of the class.
- ///
- public LinearAlgebraProviderTests()
- {
- Provider = new ManagedLinearAlgebraProvider();
- }
-
- ///
- /// Gets or sets linear algebra provider to test.
- ///
- protected ILinearAlgebraProvider Provider
- {
- get;
- set;
- }
-
- ///
- /// The Y double test vector.
- ///
- private readonly double[] _y = new[] { 1.1, 2.2, 3.3, 4.4, 5.5 };
-
- ///
- /// The X double test vector.
- ///
- private readonly double[] _x = new[] { 6.6, 7.7, 8.8, 9.9, 10.1 };
-
- ///
- /// Test matrix to use.
- ///
- private readonly IDictionary _matrices = new Dictionary
- {
- { "Singular3x3", new DenseMatrix(new[,] { { 1.0, 1.0, 2.0 }, { 1.0, 1.0, 2.0 }, { 1.0, 1.0, 2.0 } }) },
- { "Square3x3", new DenseMatrix(new[,] { { -1.1, -2.2, -3.3 }, { 0.0, 1.1, 2.2 }, { -4.4, 5.5, 6.6 } }) },
- { "Square4x4", new DenseMatrix(new[,] { { -1.1, -2.2, -3.3, -4.4 }, { 0.0, 1.1, 2.2, 3.3 }, { 1.0, 2.1, 6.2, 4.3 }, { -4.4, 5.5, 6.6, -7.7 } }) },
- { "Singular4x4", new DenseMatrix(new[,] { { -1.1, -2.2, -3.3, -4.4 }, { -1.1, -2.2, -3.3, -4.4 }, { -1.1, -2.2, -3.3, -4.4 }, { -1.1, -2.2, -3.3, -4.4 } }) },
- { "Tall3x2", new DenseMatrix(new[,] { { -1.1, -2.2 }, { 0.0, 1.1 }, { -4.4, 5.5 } }) },
- { "Wide2x3", new DenseMatrix(new[,] { { -1.1, -2.2, -3.3 }, { 0.0, 1.1, 2.2 } }) }
- };
-
- ///
- /// Can add a vector to scaled vector
- ///
- [TestMethod]
- public void CanAddVectorToScaledVectorDouble()
- {
- var result = new double[_y.Length];
- Array.Copy(_y, result, _y.Length);
-
- Provider.AddVectorToScaledVector(result, 0, _x);
- for (var i = 0; i < _y.Length; i++)
- {
- Assert.AreEqual(_y[i], result[i]);
- }
-
- Array.Copy(_y, result, _y.Length);
- Provider.AddVectorToScaledVector(result, 1, _x);
- for (var i = 0; i < _y.Length; i++)
- {
- Assert.AreEqual(_y[i] + _x[i], result[i]);
- }
-
- Array.Copy(_y, result, _y.Length);
- Provider.AddVectorToScaledVector(result, Math.PI, _x);
- for (var i = 0; i < _y.Length; i++)
- {
- Assert.AreEqual(_y[i] + (Math.PI * _x[i]), result[i]);
- }
- }
-
- ///
- /// Can scale an array.
- ///
- [TestMethod]
- public void CanScaleArray()
- {
- var result = new double[_y.Length];
-
- Array.Copy(_y, result, _y.Length);
- Provider.ScaleArray(1, result);
- for (var i = 0; i < _y.Length; i++)
- {
- Assert.AreEqual(_y[i], result[i]);
- }
-
- Array.Copy(_y, result, _y.Length);
- Provider.ScaleArray(Math.PI, result);
- for (var i = 0; i < _y.Length; i++)
- {
- Assert.AreEqual(_y[i] * Math.PI, result[i]);
- }
- }
-
- ///
- /// Can compute the dot product.
- ///
- [TestMethod]
- public void CanComputeDotProduct()
- {
- var result = Provider.DotProduct(_x, _y);
- AssertHelpers.AlmostEqual(152.35, result, 15);
- }
-
- ///
- /// Can add two arrays.
- ///
- [TestMethod]
- public void CanAddArrays()
- {
- var result = new double[_y.Length];
- Provider.AddArrays(_x, _y, result);
- for (var i = 0; i < result.Length; i++)
- {
- Assert.AreEqual(_x[i] + _y[i], result[i]);
- }
- }
-
- ///
- /// Can subtract two arrays.
- ///
- [TestMethod]
- public void CanSubtractArrays()
- {
- var result = new double[_y.Length];
- Provider.SubtractArrays(_x, _y, result);
- for (var i = 0; i < result.Length; i++)
- {
- Assert.AreEqual(_x[i] - _y[i], result[i]);
- }
- }
-
- ///
- /// Can pointwise multiply two arrays.
- ///
- [TestMethod]
- public void CanPointWiseMultiplyArrays()
- {
- var result = new double[_y.Length];
- Provider.PointWiseMultiplyArrays(_x, _y, result);
- for (var i = 0; i < result.Length; i++)
- {
- Assert.AreEqual(_x[i] * _y[i], result[i]);
- }
- }
-
- ///
- /// Can compute L1 norm.
- ///
- [TestMethod]
- public void CanComputeMatrixL1Norm()
- {
- var matrix = _matrices["Square3x3"];
- var work = new double[matrix.RowCount];
- var norm = Provider.MatrixNorm(Norm.OneNorm, matrix.RowCount, matrix.ColumnCount, matrix.Data, work);
- AssertHelpers.AlmostEqual(12.1, norm, 6);
- }
-
- ///
- /// Can compute Frobenius norm.
- ///
- [TestMethod]
- public void CanComputeMatrixFrobeniusNorm()
- {
- var matrix = _matrices["Square3x3"];
- var work = new double[matrix.RowCount];
- var norm = Provider.MatrixNorm(Norm.FrobeniusNorm, matrix.RowCount, matrix.ColumnCount, matrix.Data, work);
- AssertHelpers.AlmostEqual(10.777754868246, norm, 8);
- }
-
- ///
- /// Can compute Infinity norm.
- ///
- [TestMethod]
- public void CanComputeMatrixInfinityNorm()
- {
- var matrix = _matrices["Square3x3"];
- var work = new double[matrix.RowCount];
- var norm = Provider.MatrixNorm(Norm.InfinityNorm, matrix.RowCount, matrix.ColumnCount, matrix.Data, work);
- Assert.AreEqual(16.5, norm);
- }
-
- ///
- /// Can compute L1 norm using a work array.
- ///
- [TestMethod]
- public void CanComputeMatrixL1NormWithWorkArray()
- {
- var matrix = _matrices["Square3x3"];
- var norm = Provider.MatrixNorm(Norm.OneNorm, matrix.RowCount, matrix.ColumnCount, matrix.Data);
- AssertHelpers.AlmostEqual(12.1, norm, 6);
- }
-
- ///
- /// Can compute Frobenius norm using a work array.
- ///
- [TestMethod]
- public void CanComputeMatrixFrobeniusNormWithWorkArray()
- {
- var matrix = _matrices["Square3x3"];
- var norm = Provider.MatrixNorm(Norm.FrobeniusNorm, matrix.RowCount, matrix.ColumnCount, matrix.Data);
- AssertHelpers.AlmostEqual(10.777754868246, norm, 8);
- }
-
- ///
- /// Can compute Infinity norm using a work array.
- ///
- [TestMethod]
- public void CanComputeMatrixInfinityNormWithWorkArray()
- {
- var matrix = _matrices["Square3x3"];
- var norm = Provider.MatrixNorm(Norm.InfinityNorm, matrix.RowCount, matrix.ColumnCount, matrix.Data);
- Assert.AreEqual(16.5, norm);
- }
-
- ///
- /// Can multiply two square matrices.
- ///
- [TestMethod]
- public void CanMultiplySquareMatrices()
- {
- var x = _matrices["Singular3x3"];
- var y = _matrices["Square3x3"];
- var c = new DenseMatrix(x.RowCount, y.ColumnCount);
-
- Provider.MatrixMultiply(x.Data, x.RowCount, x.ColumnCount, y.Data, y.RowCount, y.ColumnCount, c.Data);
-
- for (var i = 0; i < c.RowCount; i++)
- {
- for (var j = 0; j < c.ColumnCount; j++)
- {
- AssertHelpers.AlmostEqual(x.Row(i) * y.Column(j), c[i, j], 15);
- }
- }
- }
-
- ///
- /// Can multiply a wide and tall matrix.
- ///
- [TestMethod]
- public void CanMultiplyWideAndTallMatrices()
- {
- var x = _matrices["Wide2x3"];
- var y = _matrices["Tall3x2"];
- var c = new DenseMatrix(x.RowCount, y.ColumnCount);
-
- Provider.MatrixMultiply(x.Data, x.RowCount, x.ColumnCount, y.Data, y.RowCount, y.ColumnCount, c.Data);
-
- for (var i = 0; i < c.RowCount; i++)
- {
- for (var j = 0; j < c.ColumnCount; j++)
- {
- AssertHelpers.AlmostEqual(x.Row(i) * y.Column(j), c[i, j], 15);
- }
- }
- }
-
- ///
- /// Can multiply a tall and wide matrix.
- ///
- [TestMethod]
- public void CanMultiplyTallAndWideMatrices()
- {
- var x = _matrices["Tall3x2"];
- var y = _matrices["Wide2x3"];
- var c = new DenseMatrix(x.RowCount, y.ColumnCount);
-
- Provider.MatrixMultiply(x.Data, x.RowCount, x.ColumnCount, y.Data, y.RowCount, y.ColumnCount, c.Data);
-
- for (var i = 0; i < c.RowCount; i++)
- {
- for (var j = 0; j < c.ColumnCount; j++)
- {
- AssertHelpers.AlmostEqual(x.Row(i) * y.Column(j), c[i, j], 15);
- }
- }
- }
-
- ///
- /// Can multiply two square matrices.
- ///
- [TestMethod]
- public void CanMultiplySquareMatricesWithUpdate()
- {
- var x = _matrices["Singular3x3"];
- var y = _matrices["Square3x3"];
- var c = new DenseMatrix(x.RowCount, y.ColumnCount);
-
- Provider.MatrixMultiplyWithUpdate(Transpose.DontTranspose, Transpose.DontTranspose, 2.2, x.Data, x.RowCount, x.ColumnCount, y.Data, y.RowCount, y.ColumnCount, 1.0, c.Data);
-
- for (var i = 0; i < c.RowCount; i++)
- {
- for (var j = 0; j < c.ColumnCount; j++)
- {
- AssertHelpers.AlmostEqual(2.2 * x.Row(i) * y.Column(j), c[i, j], 15);
- }
- }
- }
-
- ///
- /// Can multiply a wide and tall matrix.
- ///
- [TestMethod]
- public void CanMultiplyWideAndTallMatricesWithUpdate()
- {
- var x = _matrices["Wide2x3"];
- var y = _matrices["Tall3x2"];
- var c = new DenseMatrix(x.RowCount, y.ColumnCount);
-
- Provider.MatrixMultiplyWithUpdate(Transpose.DontTranspose, Transpose.DontTranspose, 2.2, x.Data, x.RowCount, x.ColumnCount, y.Data, y.RowCount, y.ColumnCount, 1.0, c.Data);
-
- for (var i = 0; i < c.RowCount; i++)
- {
- for (var j = 0; j < c.ColumnCount; j++)
- {
- AssertHelpers.AlmostEqual(2.2 * x.Row(i) * y.Column(j), c[i, j], 15);
- }
- }
- }
-
- ///
- /// Can multiply a tall and wide matrix.
- ///
- [TestMethod]
- public void CanMultiplyTallAndWideMatricesWithUpdate()
- {
- var x = _matrices["Tall3x2"];
- var y = _matrices["Wide2x3"];
- var c = new DenseMatrix(x.RowCount, y.ColumnCount);
-
- Provider.MatrixMultiplyWithUpdate(Transpose.DontTranspose, Transpose.DontTranspose, 2.2, x.Data, x.RowCount, x.ColumnCount, y.Data, y.RowCount, y.ColumnCount, 1.0, c.Data);
-
- for (var i = 0; i < c.RowCount; i++)
- {
- for (var j = 0; j < c.ColumnCount; j++)
- {
- AssertHelpers.AlmostEqual(2.2 * x.Row(i) * y.Column(j), c[i, j], 15);
- }
- }
- }
-
- ///
- /// Can compute the Cholesky factorization.
- ///
- [TestMethod]
- public void CanComputeCholeskyFactor()
- {
- var matrix = new double[] { 1, 1, 1, 1, 1, 5, 5, 5, 1, 5, 14, 14, 1, 5, 14, 15 };
- Provider.CholeskyFactor(matrix, 4);
- Assert.AreEqual(matrix[0], 1);
- Assert.AreEqual(matrix[1], 1);
- Assert.AreEqual(matrix[2], 1);
- Assert.AreEqual(matrix[3], 1);
- Assert.AreEqual(matrix[4], 0);
- Assert.AreEqual(matrix[5], 2);
- Assert.AreEqual(matrix[6], 2);
- Assert.AreEqual(matrix[7], 2);
- Assert.AreEqual(matrix[8], 0);
- Assert.AreEqual(matrix[9], 0);
- Assert.AreEqual(matrix[10], 3);
- Assert.AreEqual(matrix[11], 3);
- Assert.AreEqual(matrix[12], 0);
- Assert.AreEqual(matrix[13], 0);
- Assert.AreEqual(matrix[14], 0);
- Assert.AreEqual(matrix[15], 1);
- }
-
- ///
- /// Can compute the LU factor of a matrix.
- ///
- [TestMethod]
- public void CanComputeLuFactor()
- {
- var matrix = _matrices["Square3x3"];
- var a = new double[matrix.RowCount * matrix.RowCount];
- Array.Copy(matrix.Data, a, a.Length);
-
- var ipiv = new int[matrix.RowCount];
-
- Provider.LUFactor(a, matrix.RowCount, ipiv);
-
- AssertHelpers.AlmostEqual(a[0], -4.4, 15);
- AssertHelpers.AlmostEqual(a[1], 0.25, 15);
- AssertHelpers.AlmostEqual(a[2], 0, 15);
- AssertHelpers.AlmostEqual(a[3], 5.5, 15);
- AssertHelpers.AlmostEqual(a[4], -3.575, 15);
- AssertHelpers.AlmostEqual(a[5], -0.307692307692308, 15);
- AssertHelpers.AlmostEqual(a[6], 6.6, 15);
- AssertHelpers.AlmostEqual(a[7], -4.95, 15);
- AssertHelpers.AlmostEqual(a[8], 0.676923076923077, 15);
-
- Assert.AreEqual(ipiv[0], 2);
- Assert.AreEqual(ipiv[1], 2);
- Assert.AreEqual(ipiv[2], 2);
- }
- }
-}
\ No newline at end of file
diff --git a/src/MSUnitTests/MSUnitTests.csproj b/src/MSUnitTests/MSUnitTests.csproj
deleted file mode 100644
index 4b75065a..00000000
--- a/src/MSUnitTests/MSUnitTests.csproj
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- Debug
- AnyCPU
-
-
- 2.0
- {624FB757-A724-4B0D-85EB-F0563CE43A33}
- Library
- Properties
- MathNet.Numerics.UnitTests
- MathNet.Numerics.MSUnitTests
- v4.0
- 512
- {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
-
-
- true
- full
- false
- ..\..\out\test\debug\Net40\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- ..\..\out\test\Net40\
- TRACE
- prompt
- 4
-
-
-
-
-
- 3.5
-
-
-
-
-
- False
-
-
-
-
-
-
-
-
-
- {B7CAE5F4-A23F-4438-B5BE-41226618B695}
- Numerics
-
-
-
-
-
\ No newline at end of file
diff --git a/src/MSUnitTests/Properties/AssemblyInfo.cs b/src/MSUnitTests/Properties/AssemblyInfo.cs
deleted file mode 100644
index 6fbd5225..00000000
--- a/src/MSUnitTests/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("MSUnitTests")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("MSUnitTests")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("38b7aca0-5350-4ed4-9637-ae52b0107e48")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/MathNet.Numerics.sln b/src/MathNet.Numerics.sln
index 935903e9..ce2559b6 100644
--- a/src/MathNet.Numerics.sln
+++ b/src/MathNet.Numerics.sln
@@ -15,23 +15,11 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FSharpUnitTests", "FSharpUn
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silverlight", "Silverlight\Silverlight.csproj", "{793E332F-E2B1-4D1D-9B2E-27E90B99BF93}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSUnitTests", "MSUnitTests\MSUnitTests.csproj", "{624FB757-A724-4B0D-85EB-F0563CE43A33}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{5A0CD103-0739-4E4D-B9E9-6DD5EE137C3B}"
- ProjectSection(SolutionItems) = preProject
- Local.testsettings = Local.testsettings
- MathNet.Numerics.vsmdi = MathNet.Numerics.vsmdi
- TraceAndTestImpact.testsettings = TraceAndTestImpact.testsettings
- EndProjectSection
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{4D50FB34-10BC-495A-8B2F-482E34B4D771}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{49EE74BD-301F-4C3B-B76A-07F90CC88CE7}"
EndProject
Global
- GlobalSection(TestCaseManagementSettings) = postSolution
- CategoryFile = MathNet.Numerics.vsmdi
- EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
@@ -65,10 +53,6 @@ Global
{793E332F-E2B1-4D1D-9B2E-27E90B99BF93}.Debug|Any CPU.Build.0 = Debug|Any CPU
{793E332F-E2B1-4D1D-9B2E-27E90B99BF93}.Release|Any CPU.ActiveCfg = Release|Any CPU
{793E332F-E2B1-4D1D-9B2E-27E90B99BF93}.Release|Any CPU.Build.0 = Release|Any CPU
- {624FB757-A724-4B0D-85EB-F0563CE43A33}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {624FB757-A724-4B0D-85EB-F0563CE43A33}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {624FB757-A724-4B0D-85EB-F0563CE43A33}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {624FB757-A724-4B0D-85EB-F0563CE43A33}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -77,7 +61,6 @@ Global
{BC81EA37-8EE6-4BF9-B8A9-B30497AEF8B1} = {49EE74BD-301F-4C3B-B76A-07F90CC88CE7}
{8239A6FF-1EF3-4DA4-A860-95C392DD6899} = {49EE74BD-301F-4C3B-B76A-07F90CC88CE7}
{F2F8032B-A31D-4E33-A05E-F2CDCBFAA75D} = {4D50FB34-10BC-495A-8B2F-482E34B4D771}
- {624FB757-A724-4B0D-85EB-F0563CE43A33} = {4D50FB34-10BC-495A-8B2F-482E34B4D771}
{8C9A5D3F-A20C-4D24-A09C-98E187A8D720} = {4D50FB34-10BC-495A-8B2F-482E34B4D771}
EndGlobalSection
EndGlobal
diff --git a/src/MathNet.Numerics.vsmdi b/src/MathNet.Numerics.vsmdi
deleted file mode 100644
index 292460e7..00000000
--- a/src/MathNet.Numerics.vsmdi
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests.Web/ClientBin/SilverlightUnitTests.xap b/src/SilverlightUnitTests/SilverlightUnitTests.Web/ClientBin/SilverlightUnitTests.xap
deleted file mode 100644
index 9b8ab729..00000000
Binary files a/src/SilverlightUnitTests/SilverlightUnitTests.Web/ClientBin/SilverlightUnitTests.xap and /dev/null differ
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests.Web/Properties/AssemblyInfo.cs b/src/SilverlightUnitTests/SilverlightUnitTests.Web/Properties/AssemblyInfo.cs
deleted file mode 100644
index dcfe8525..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests.Web/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("SilverlightUnitTests.Web")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("SilverlightUnitTests.Web")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("5868b737-92b9-4ca4-bdd8-f86f35a777f2")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests.Web/Silverlight.js b/src/SilverlightUnitTests/SilverlightUnitTests.Web/Silverlight.js
deleted file mode 100644
index 80ff3970..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests.Web/Silverlight.js
+++ /dev/null
@@ -1,2 +0,0 @@
-//v2.0.30511.0
-if(!window.Silverlight)window.Silverlight={};Silverlight._silverlightCount=0;Silverlight.__onSilverlightInstalledCalled=false;Silverlight.fwlinkRoot="http://go2.microsoft.com/fwlink/?LinkID=";Silverlight.__installationEventFired=false;Silverlight.onGetSilverlight=null;Silverlight.onSilverlightInstalled=function(){window.location.reload(false)};Silverlight.isInstalled=function(b){if(b==undefined)b=null;var a=false,m=null;try{var i=null,j=false;if(window.ActiveXObject)try{i=new ActiveXObject("AgControl.AgControl");if(b===null)a=true;else if(i.IsVersionSupported(b))a=true;i=null}catch(l){j=true}else j=true;if(j){var k=navigator.plugins["Silverlight Plug-In"];if(k)if(b===null)a=true;else{var h=k.description;if(h==="1.0.30226.2")h="2.0.30226.2";var c=h.split(".");while(c.length>3)c.pop();while(c.length<4)c.push(0);var e=b.split(".");while(e.length>4)e.pop();var d,g,f=0;do{d=parseInt(e[f]);g=parseInt(c[f]);f++}while(f");delete a.id;delete a.width;delete a.height;for(var c in a)if(a[c])b.push('');b.push("");return b.join("")};Silverlight.createObjectEx=function(b){var a=b,c=Silverlight.createObject(a.source,a.parentElement,a.id,a.properties,a.events,a.initParams,a.context);if(a.parentElement==null)return c};Silverlight.buildPromptHTML=function(b){var a="",d=Silverlight.fwlinkRoot,c=b.version;if(b.alt)a=b.alt;else{if(!c)c="";a="
";a=a.replace("{1}",c);a=a.replace("{2}",d+"108181")}return a};Silverlight.getSilverlight=function(e){if(Silverlight.onGetSilverlight)Silverlight.onGetSilverlight();var b="",a=String(e).split(".");if(a.length>1){var c=parseInt(a[0]);if(isNaN(c)||c<2)b="1.0";else b=a[0]+"."+a[1]}var d="";if(b.match(/^\d+\056\d+$/))d="&v="+b;Silverlight.followFWLink("149156"+d)};Silverlight.followFWLink=function(a){top.location=Silverlight.fwlinkRoot+String(a)};Silverlight.HtmlAttributeEncode=function(c){var a,b="";if(c==null)return null;for(var d=0;d96&&a<123||a>64&&a<91||a>43&&a<58&&a!=47||a==95)b=b+String.fromCharCode(a);else b=b+""+a+";"}return b};Silverlight.default_error_handler=function(e,b){var d,c=b.ErrorType;d=b.ErrorCode;var a="\nSilverlight error message \n";a+="ErrorCode: "+d+"\n";a+="ErrorType: "+c+" \n";a+="Message: "+b.ErrorMessage+" \n";if(c=="ParserError"){a+="XamlFile: "+b.xamlFile+" \n";a+="Line: "+b.lineNumber+" \n";a+="Position: "+b.charPosition+" \n"}else if(c=="RuntimeError"){if(b.lineNumber!=0){a+="Line: "+b.lineNumber+" \n";a+="Position: "+b.charPosition+" \n"}a+="MethodName: "+b.methodName+" \n"}alert(a)};Silverlight.__cleanup=function(){for(var a=Silverlight._silverlightCount-1;a>=0;a--)window["__slEvent"+a]=null;Silverlight._silverlightCount=0;if(window.removeEventListener)window.removeEventListener("unload",Silverlight.__cleanup,false);else window.detachEvent("onunload",Silverlight.__cleanup)};Silverlight.__getHandlerName=function(b){var a="";if(typeof b=="string")a=b;else if(typeof b=="function"){if(Silverlight._silverlightCount==0)if(window.addEventListener)window.addEventListener("onunload",Silverlight.__cleanup,false);else window.attachEvent("onunload",Silverlight.__cleanup);var c=Silverlight._silverlightCount++;a="__slEvent"+c;window[a]=b}else a=null;return a};Silverlight.onRequiredVersionAvailable=function(){};Silverlight.onRestartRequired=function(){};Silverlight.onUpgradeRequired=function(){};Silverlight.onInstallRequired=function(){};Silverlight.IsVersionAvailableOnError=function(d,a){var b=false;try{if(a.ErrorCode==8001&&!Silverlight.__installationEventFired){Silverlight.onUpgradeRequired();Silverlight.__installationEventFired=true}else if(a.ErrorCode==8002&&!Silverlight.__installationEventFired){Silverlight.onRestartRequired();Silverlight.__installationEventFired=true}else if(a.ErrorCode==5014||a.ErrorCode==2106){if(Silverlight.__verifySilverlight2UpgradeSuccess(a.getHost()))b=true}else b=true}catch(c){}return b};Silverlight.IsVersionAvailableOnLoad=function(b){var a=false;try{if(Silverlight.__verifySilverlight2UpgradeSuccess(b.getHost()))a=true}catch(c){}return a};Silverlight.__verifySilverlight2UpgradeSuccess=function(d){var c=false,b="2.0.31005",a=null;try{if(d.IsVersionSupported(b+".99")){a=Silverlight.onRequiredVersionAvailable;c=true}else if(d.IsVersionSupported(b+".0"))a=Silverlight.onRestartRequired;else a=Silverlight.onUpgradeRequired;if(a&&!Silverlight.__installationEventFired){a();Silverlight.__installationEventFired=true}}catch(e){}return c}
\ No newline at end of file
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests.Web/SilverlightUnitTests.Web.csproj b/src/SilverlightUnitTests/SilverlightUnitTests.Web/SilverlightUnitTests.Web.csproj
deleted file mode 100644
index 5f893093..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests.Web/SilverlightUnitTests.Web.csproj
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
- Debug
- AnyCPU
-
-
- 2.0
- {955CBD46-9E5E-454D-8BA8-087C3AD36CE8}
- {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
- Library
- Properties
- SilverlightUnitTests.Web
- SilverlightUnitTests.Web
- v4.0
- {2E7CF5BB-2E02-4654-8964-79675F535727}|..\SilverlightUnitTests\SilverlightUnitTests.csproj|ClientBin|False
-
-
- true
- full
- false
- bin\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Web.config
-
-
- Web.config
-
-
-
-
-
-
-
-
-
-
-
-
- False
- True
- 40188
- /
-
-
- False
- False
-
-
- False
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests.Web/SilverlightUnitTestsTestPage.aspx b/src/SilverlightUnitTests/SilverlightUnitTests.Web/SilverlightUnitTestsTestPage.aspx
deleted file mode 100644
index c3a095be..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests.Web/SilverlightUnitTestsTestPage.aspx
+++ /dev/null
@@ -1,74 +0,0 @@
-<%@ Page Language="C#" AutoEventWireup="true" %>
-
-
-
-
- SilverlightUnitTests
-
-
-
-
-
-
-
-
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests.Web/SilverlightUnitTestsTestPage.html b/src/SilverlightUnitTests/SilverlightUnitTests.Web/SilverlightUnitTestsTestPage.html
deleted file mode 100644
index d8252299..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests.Web/SilverlightUnitTestsTestPage.html
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
- SilverlightUnitTests
-
-
-
-
-
-
-
-
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests.Web/Web.Debug.config b/src/SilverlightUnitTests/SilverlightUnitTests.Web/Web.Debug.config
deleted file mode 100644
index 2c6dd51a..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests.Web/Web.Debug.config
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests.Web/Web.Release.config b/src/SilverlightUnitTests/SilverlightUnitTests.Web/Web.Release.config
deleted file mode 100644
index 4122d79b..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests.Web/Web.Release.config
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests.Web/Web.config b/src/SilverlightUnitTests/SilverlightUnitTests.Web/Web.config
deleted file mode 100644
index ea5e4d6e..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests.Web/Web.config
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests.sln b/src/SilverlightUnitTests/SilverlightUnitTests.sln
deleted file mode 100644
index 4fa0c322..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests.sln
+++ /dev/null
@@ -1,26 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SilverlightUnitTests", "SilverlightUnitTests\SilverlightUnitTests.csproj", "{2E7CF5BB-2E02-4654-8964-79675F535727}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SilverlightUnitTests.Web", "SilverlightUnitTests.Web\SilverlightUnitTests.Web.csproj", "{955CBD46-9E5E-454D-8BA8-087C3AD36CE8}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {2E7CF5BB-2E02-4654-8964-79675F535727}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2E7CF5BB-2E02-4654-8964-79675F535727}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2E7CF5BB-2E02-4654-8964-79675F535727}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2E7CF5BB-2E02-4654-8964-79675F535727}.Release|Any CPU.Build.0 = Release|Any CPU
- {955CBD46-9E5E-454D-8BA8-087C3AD36CE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {955CBD46-9E5E-454D-8BA8-087C3AD36CE8}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {955CBD46-9E5E-454D-8BA8-087C3AD36CE8}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {955CBD46-9E5E-454D-8BA8-087C3AD36CE8}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests/App.xaml b/src/SilverlightUnitTests/SilverlightUnitTests/App.xaml
deleted file mode 100644
index c2f8b3ef..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests/App.xaml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests/App.xaml.cs b/src/SilverlightUnitTests/SilverlightUnitTests/App.xaml.cs
deleted file mode 100644
index a00992bf..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests/App.xaml.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using System;
-using System.Windows;
-using Microsoft.Silverlight.Testing;
-
-namespace SilverlightUnitTests
-{
- public partial class App : Application
- {
-
- public App()
- {
- this.Startup += this.Application_Startup;
- this.Exit += this.Application_Exit;
- this.UnhandledException += this.Application_UnhandledException;
-
- InitializeComponent();
- }
-
- private void Application_Startup(object sender, StartupEventArgs e)
- {
- RootVisual = UnitTestSystem.CreateTestPage();
- }
-
- private void Application_Exit(object sender, EventArgs e)
- {
-
- }
- private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
- {
- // If the app is running outside of the debugger then report the exception using
- // the browser's exception mechanism. On IE this will display it a yellow alert
- // icon in the status bar and Firefox will display a script error.
- if (!System.Diagnostics.Debugger.IsAttached)
- {
-
- // NOTE: This will allow the application to continue running after an exception has been thrown
- // but not handled.
- // For production applications this error handling should be replaced with something that will
- // report the error to the website and stop the application.
- e.Handled = true;
- Deployment.Current.Dispatcher.BeginInvoke(delegate { ReportErrorToDOM(e); });
- }
- }
- private void ReportErrorToDOM(ApplicationUnhandledExceptionEventArgs e)
- {
- try
- {
- string errorMsg = e.ExceptionObject.Message + e.ExceptionObject.StackTrace;
- errorMsg = errorMsg.Replace('"', '\'').Replace("\r\n", @"\n");
-
- System.Windows.Browser.HtmlPage.Window.Eval("throw new Error(\"Unhandled Error in Silverlight Application " + errorMsg + "\");");
- }
- catch (Exception)
- {
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests/Properties/AppManifest.xml b/src/SilverlightUnitTests/SilverlightUnitTests/Properties/AppManifest.xml
deleted file mode 100644
index fd53a6b3..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests/Properties/AppManifest.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests/Properties/AssemblyInfo.cs b/src/SilverlightUnitTests/SilverlightUnitTests/Properties/AssemblyInfo.cs
deleted file mode 100644
index 8a201aa8..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright © Microsoft 2010
-
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("SilverlightUnitTests")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("SilverlightUnitTests")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("5ea9dc74-07ae-49b4-a6d8-88b3d83c29c0")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
\ No newline at end of file
diff --git a/src/SilverlightUnitTests/SilverlightUnitTests/SilverlightUnitTests.csproj b/src/SilverlightUnitTests/SilverlightUnitTests/SilverlightUnitTests.csproj
deleted file mode 100644
index 15d7cba8..00000000
--- a/src/SilverlightUnitTests/SilverlightUnitTests/SilverlightUnitTests.csproj
+++ /dev/null
@@ -1,125 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.30729
- 2.0
- {2E7CF5BB-2E02-4654-8964-79675F535727}
- {A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
- Library
- Properties
- SilverlightUnitTests
- SilverlightUnitTests
- Silverlight
- v4.0
- $(TargetFrameworkVersion)
- true
-
- true
- true
- SilverlightUnitTests.xap
- Properties\AppManifest.xml
- SilverlightUnitTests.App
- TestPage.html
- true
- true
- false
- Properties\OutOfBrowserSettings.xml
- false
- true
-
-
-
-
-
-
- v3.5
-
-
- true
- full
- false
- Bin\Debug
- DEBUG;TRACE;SILVERLIGHT
- true
- true
- prompt
- 4
-
-
- pdbonly
- true
- Bin\Release
- TRACE;SILVERLIGHT
- true
- true
- prompt
- 4
-
-
-
- ..\..\..\out\debug\SL4\MathNet.Numerics.dll
-
-
- $(MSBuildExtensionsPath)\..\Microsoft SDKs\Silverlight\v4.0\Toolkit\Apr10\Testing\Microsoft.Silverlight.Testing.dll
-
-
- $(MSBuildExtensionsPath)\..\Microsoft SDKs\Silverlight\v4.0\Toolkit\Apr10\Testing\Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll
-
-
-
-
-
-
-
-
-
-
-
-
- AssertHelpers.cs
-
-
- LinearAlgebraProviderTests\Double\LinearAlgebraProviderTests.cs
-
-
- App.xaml
-
-
-
-
-
- Designer
- MSBuild:Compile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/TraceAndTestImpact.testsettings b/src/TraceAndTestImpact.testsettings
deleted file mode 100644
index 35bd743b..00000000
--- a/src/TraceAndTestImpact.testsettings
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
- These are test settings for Trace and Test Impact.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file