Browse Source

Unit Tests: updated headers, minor clean up

la-knuth
Christoph Ruegg 17 years ago
parent
commit
7c21d36316
  1. 6
      src/UnitTests/ArgumentCheckContract.cs
  2. 6
      src/UnitTests/AssertHelpers.cs
  3. 6
      src/UnitTests/CombinatoricsTests/CombinatoricsCountingTest.cs
  4. 6
      src/UnitTests/ComplexTests/Complex32Test.TextHandling.cs
  5. 6
      src/UnitTests/ComplexTests/Complex32Test.cs
  6. 6
      src/UnitTests/ComplexTests/ComplexTest.TextHandling.cs
  7. 15
      src/UnitTests/ComplexTests/ComplexTest.cs
  8. 12
      src/UnitTests/DistributionTests/CommonDistributionTests.cs
  9. 18
      src/UnitTests/DistributionTests/Continuous/BetaTests.cs
  10. 18
      src/UnitTests/DistributionTests/Continuous/ContinuousUniformTests.cs
  11. 18
      src/UnitTests/DistributionTests/Continuous/GammaTests.cs
  12. 18
      src/UnitTests/DistributionTests/Continuous/LogNormalTests.cs
  13. 18
      src/UnitTests/DistributionTests/Continuous/NormalTests.cs
  14. 18
      src/UnitTests/DistributionTests/Continuous/StudentTTests.cs
  15. 18
      src/UnitTests/DistributionTests/Continuous/WeibullTests.cs
  16. 18
      src/UnitTests/DistributionTests/Discrete/BernoulliTests.cs
  17. 18
      src/UnitTests/DistributionTests/Discrete/BinomialTests.cs
  18. 19
      src/UnitTests/DistributionTests/Discrete/CategoricalTests.cs
  19. 18
      src/UnitTests/DistributionTests/Discrete/DiscreteUniformTests.cs
  20. 17
      src/UnitTests/DistributionTests/Multivariate/DirichletTests.cs
  21. 17
      src/UnitTests/DistributionTests/Multivariate/MultinomialTests.cs
  22. 21
      src/UnitTests/DistributionTests/Multivariate/NormalGammaTests.cs
  23. 6
      src/UnitTests/FunctionalHelpers.cs
  24. 6
      src/UnitTests/IntegralTransformsTests/FourierTest.cs
  25. 6
      src/UnitTests/IntegralTransformsTests/HartleyTest.cs
  26. 6
      src/UnitTests/IntegralTransformsTests/InverseTransformTest.cs
  27. 6
      src/UnitTests/IntegralTransformsTests/MatchingNaiveTransformTest.cs
  28. 6
      src/UnitTests/IntegralTransformsTests/ParsevalTheoremTest.cs
  29. 6
      src/UnitTests/IntegrationTests/IntegrationTest.cs
  30. 6
      src/UnitTests/InterpolationTests/InterpolationFunctionalContract.cs
  31. 6
      src/UnitTests/InterpolationTests/InterpolationFunctionalTest.cs
  32. 6
      src/UnitTests/InterpolationTests/InterpolationInfrastructureContract.cs
  33. 6
      src/UnitTests/InterpolationTests/InterpolationInfrastuctureTest.cs
  34. 33
      src/UnitTests/LinearAlgebraTests/Double/DenseMatrixTests.cs
  35. 6
      src/UnitTests/LinearAlgebraTests/Double/DenseVectorTest.TextHandling.cs
  36. 33
      src/UnitTests/LinearAlgebraTests/Double/DenseVectorTests.cs
  37. 32
      src/UnitTests/LinearAlgebraTests/Double/LinearAlgebraProviderTests.cs
  38. 32
      src/UnitTests/LinearAlgebraTests/Double/ManagedLinearAlgebraProviderTests.cs
  39. 37
      src/UnitTests/LinearAlgebraTests/Double/MatrixLoader.cs
  40. 38
      src/UnitTests/LinearAlgebraTests/Double/MatrixTests.Arithmetic.cs
  41. 38
      src/UnitTests/LinearAlgebraTests/Double/MatrixTests.cs
  42. 32
      src/UnitTests/LinearAlgebraTests/Double/UserDefinedMatrixTests.cs
  43. 32
      src/UnitTests/LinearAlgebraTests/Double/UserDefinedVectorTests.cs
  44. 36
      src/UnitTests/LinearAlgebraTests/Double/VectorTests.Arithmetic.cs
  45. 32
      src/UnitTests/LinearAlgebraTests/Double/VectorTests.Norm.cs
  46. 39
      src/UnitTests/LinearAlgebraTests/Double/VectorTests.cs
  47. 6
      src/UnitTests/NumberTheoryTests/GcdRelatedTest.cs
  48. 6
      src/UnitTests/NumberTheoryTests/GcdRelatedTestBigInteger.cs
  49. 7
      src/UnitTests/NumberTheoryTests/IntegerTheoryTest.cs
  50. 12
      src/UnitTests/PrecisionTest.cs
  51. 8
      src/UnitTests/Random/Mcg31m1Tests.cs
  52. 8
      src/UnitTests/Random/Mcg59Tests.cs
  53. 8
      src/UnitTests/Random/MersenneTwisterTests.cs
  54. 8
      src/UnitTests/Random/Mrg32k3aTests.cs
  55. 9
      src/UnitTests/Random/RandomTests.cs
  56. 8
      src/UnitTests/Random/SystemCryptoTests.cs
  57. 8
      src/UnitTests/Random/SystemRandomExtensionTests.cs
  58. 8
      src/UnitTests/Random/WH1982Tests.cs
  59. 8
      src/UnitTests/Random/WH2006Tests.cs
  60. 11
      src/UnitTests/SortingTests.cs
  61. 8
      src/UnitTests/SpecialFunctionsTests/ErfTests.cs
  62. 6
      src/UnitTests/SpecialFunctionsTests/FactorialTest.cs
  63. 8
      src/UnitTests/SpecialFunctionsTests/GammaTests.cs
  64. 8
      src/UnitTests/SpecialFunctionsTests/SpecialFunctionsTests.cs
  65. 11
      src/UnitTests/StatisticsTests/CorrelationTests.cs
  66. 8
      src/UnitTests/StatisticsTests/DescriptiveStatisticsTests.cs
  67. 9
      src/UnitTests/StatisticsTests/HistogramTests.cs
  68. 12
      src/UnitTests/StatisticsTests/MCMCTests/MetropolisHastingsSamplerTests.cs
  69. 12
      src/UnitTests/StatisticsTests/MCMCTests/MetropolisSamplerTests.cs
  70. 12
      src/UnitTests/StatisticsTests/MCMCTests/RejectionSamplerTests.cs
  71. 9
      src/UnitTests/StatisticsTests/MCMCTests/UnivariateSliceSamplerTests.cs
  72. 6
      src/UnitTests/StatisticsTests/StatTestData.cs
  73. 9
      src/UnitTests/StatisticsTests/StatisticsTests.cs
  74. 32
      src/UnitTests/TrigonometryTest.cs

6
src/UnitTests/ArgumentCheckContract.cs

@ -1,8 +1,10 @@
// <copyright file="ArgumentCheckContract.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/AssertHelpers.cs

@ -1,8 +1,10 @@
// <copyright file="AssertHelpers.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/CombinatoricsTests/CombinatoricsCountingTest.cs

@ -1,8 +1,10 @@
// <copyright file="CombinatoricsCountingTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/ComplexTests/Complex32Test.TextHandling.cs

@ -1,8 +1,10 @@
// <copyright file="ComplexTest.TextHandling.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/ComplexTests/Complex32Test.cs

@ -1,8 +1,10 @@
// <copyright file="ComplexTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/ComplexTests/ComplexTest.TextHandling.cs

@ -1,8 +1,10 @@
// <copyright file="ComplexTest.TextHandling.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

15
src/UnitTests/ComplexTests/ComplexTest.cs

@ -1,8 +1,10 @@
// <copyright file="ComplexTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,13 +28,12 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.ComplexExtensionTests
namespace MathNet.Numerics.UnitTests.ComplexTests
{
using System;
using System.Numerics;
using MbUnit.Framework;
using System.Numerics;
using MbUnit.Framework;
[TestFixture]
[TestFixture]
public class ComplexExtensionTest
{

12
src/UnitTests/DistributionTests/CommonDistributionTests.cs

@ -1,8 +1,10 @@
// <copyright file="CommonDistributionTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -32,9 +34,9 @@ namespace MathNet.Numerics.UnitTests.DistributionTests
using System.Linq;
using System.Collections.Generic;
using MbUnit.Framework;
using MathNet.Numerics.Random;
using MathNet.Numerics.Statistics;
using MathNet.Numerics.Distributions;
using Random;
using Statistics;
using Distributions;
/// <summary>
/// This class will perform various tests on discrete and continuous univariate distributions. The multivariate distributions

18
src/UnitTests/DistributionTests/Continuous/BetaTests.cs

@ -1,8 +1,10 @@
// <copyright file="BetaTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Continuous
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using System.Linq;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class BetaTests
{
[SetUp]

18
src/UnitTests/DistributionTests/Continuous/ContinuousUniformTests.cs

@ -1,8 +1,10 @@
// <copyright file="ContinuousUniformTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Continuous
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using System.Linq;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class ContinuousUniformTests
{
[SetUp]

18
src/UnitTests/DistributionTests/Continuous/GammaTests.cs

@ -1,8 +1,10 @@
// <copyright file="GammaTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Continuous
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using System.Linq;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class GammaTests
{
[SetUp]

18
src/UnitTests/DistributionTests/Continuous/LogNormalTests.cs

@ -1,8 +1,10 @@
// <copyright file="LogNormalTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Continuous
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using System.Linq;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class LogNormalTests
{
[SetUp]

18
src/UnitTests/DistributionTests/Continuous/NormalTests.cs

@ -1,8 +1,10 @@
// <copyright file="NormalTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Continuous
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using System.Linq;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class NormalTests
{
[SetUp]

18
src/UnitTests/DistributionTests/Continuous/StudentTTests.cs

@ -1,8 +1,10 @@
// <copyright file="StudentTTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Continuous
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using System.Linq;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class StudentTTests
{
[SetUp]

18
src/UnitTests/DistributionTests/Continuous/WeibullTests.cs

@ -1,8 +1,10 @@
// <copyright file="WeibullTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Continuous
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using System.Linq;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class WeibullTests
{
[SetUp]

18
src/UnitTests/DistributionTests/Discrete/BernoulliTests.cs

@ -1,8 +1,10 @@
// <copyright file="BernoulliTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Discrete
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using System.Linq;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class BernoulliTests
{
[SetUp]

18
src/UnitTests/DistributionTests/Discrete/BinomialTests.cs

@ -1,8 +1,10 @@
// <copyright file="BinomialTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Discrete
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using System.Linq;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class BinomialTests
{
[SetUp]

19
src/UnitTests/DistributionTests/Discrete/CategoricalTests.cs

@ -1,8 +1,10 @@
// <copyright file="CategorialTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,15 +28,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Discrete
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.Statistics;
using System;
using MbUnit.Framework;
using Distributions;
using Statistics;
[TestFixture]
[TestFixture]
public class CategoricalTests
{
double[] badP;

18
src/UnitTests/DistributionTests/Discrete/DiscreteUniformTests.cs

@ -1,8 +1,10 @@
// <copyright file="DiscreteUniformTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Discrete
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using System.Linq;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class DiscreteUniformTests
{
[SetUp]

17
src/UnitTests/DistributionTests/Multivariate/DirichletTests.cs

@ -1,8 +1,10 @@
// <copyright file="DirichletTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,13 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Multivariate
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class DirichletTests
{
[SetUp]

17
src/UnitTests/DistributionTests/Multivariate/MultinomialTests.cs

@ -1,8 +1,10 @@
// <copyright file="MultinomialTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,14 +28,13 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Multivariate
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Distributions;
using System;
using MbUnit.Framework;
using Distributions;
[TestFixture]
[TestFixture]
public class MultinomialTests
{
double[] badP;

21
src/UnitTests/DistributionTests/Multivariate/NormalGammaTests.cs

@ -1,8 +1,10 @@
// <copyright file="NormalGammaTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,16 +28,15 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
namespace MathNet.Numerics.UnitTests.DistributionTests
namespace MathNet.Numerics.UnitTests.DistributionTests.Multivariate
{
using System;
using System.Linq;
using MbUnit.Framework;
using MathNet.Numerics.Random;
using MathNet.Numerics.Statistics;
using MathNet.Numerics.Distributions;
using System;
using System.Linq;
using MbUnit.Framework;
using Random;
using Distributions;
[TestFixture]
[TestFixture]
public class NormalGammaTests
{
[Test, MultipleAsserts]

6
src/UnitTests/FunctionalHelpers.cs

@ -1,8 +1,10 @@
// <copyright file="FunctionalHelpers.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/IntegralTransformsTests/FourierTest.cs

@ -1,8 +1,10 @@
// <copyright file="FourierTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/IntegralTransformsTests/HartleyTest.cs

@ -1,8 +1,10 @@
// <copyright file="HartleyTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/IntegralTransformsTests/InverseTransformTest.cs

@ -1,8 +1,10 @@
// <copyright file="InverseTransformTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/IntegralTransformsTests/MatchingNaiveTransformTest.cs

@ -1,8 +1,10 @@
// <copyright file="MatchingNaiveTransformTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/IntegralTransformsTests/ParsevalTheoremTest.cs

@ -1,8 +1,10 @@
// <copyright file="ParsevalTheoremTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/IntegrationTests/IntegrationTest.cs

@ -1,8 +1,10 @@
// <copyright file="IntegrationTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/InterpolationTests/InterpolationFunctionalContract.cs

@ -1,8 +1,10 @@
// <copyright file="InterpolationFunctionalContract.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/InterpolationTests/InterpolationFunctionalTest.cs

@ -1,8 +1,10 @@
// <copyright file="InterpolationFunctionalTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/InterpolationTests/InterpolationInfrastructureContract.cs

@ -1,8 +1,10 @@
// <copyright file="InterpolationInfrastructureContract.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/InterpolationTests/InterpolationInfrastuctureTest.cs

@ -1,8 +1,10 @@
// <copyright file="InterpolationInfrastuctureTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

33
src/UnitTests/LinearAlgebraTests/Double/DenseMatrixTests.cs

@ -1,8 +1,37 @@
using System.Collections.Generic;
using MbUnit.Framework;
// <copyright file="DenseMatrixTests.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using System.Collections.Generic;
using MbUnit.Framework;
using LinearAlgebra.Double;
public class DenseMatrixTests : MatrixTests

6
src/UnitTests/LinearAlgebraTests/Double/DenseVectorTest.TextHandling.cs

@ -1,8 +1,10 @@
// <copyright file="DenseVectorTest.TextHandling.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

33
src/UnitTests/LinearAlgebraTests/Double/DenseVectorTests.cs

@ -1,8 +1,37 @@
using System.Collections.Generic;
using MbUnit.Framework;
// <copyright file="DenseVectorTests.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using System.Collections.Generic;
using MbUnit.Framework;
using LinearAlgebra.Double;
public class DenseVectorTests : VectorTests

32
src/UnitTests/LinearAlgebraTests/Double/LinearAlgebraProviderTests.cs

@ -1,4 +1,34 @@
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
// <copyright file="LinearAlgebraProviderTests.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using System;
using Algorithms.LinearAlgebra;

32
src/UnitTests/LinearAlgebraTests/Double/ManagedLinearAlgebraProviderTests.cs

@ -1,4 +1,34 @@
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
// <copyright file="ManagedLinearAlgebraProviderTests.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using MbUnit.Framework;

37
src/UnitTests/LinearAlgebraTests/Double/MatrixLoader.cs

@ -1,11 +1,38 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// <copyright file="MatrixLoader.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using LinearAlgebra.Double;
using System.Collections.Generic;
using LinearAlgebra.Double;
using MbUnit.Framework;
public abstract class MatrixLoader

38
src/UnitTests/LinearAlgebraTests/Double/MatrixTests.Arithmetic.cs

@ -1,11 +1,39 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using MathNet.Numerics.LinearAlgebra.Double;
using MbUnit.Framework;
// <copyright file="MatrixTests.Arithmetic.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using System;
using LinearAlgebra.Double;
using MbUnit.Framework;
public abstract partial class MatrixTests
{
[Test]

38
src/UnitTests/LinearAlgebraTests/Double/MatrixTests.cs

@ -1,11 +1,39 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using MathNet.Numerics.LinearAlgebra.Double;
using MbUnit.Framework;
// <copyright file="MatrixTests.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using System;
using LinearAlgebra.Double;
using MbUnit.Framework;
[TestFixture]
public abstract partial class MatrixTests : MatrixLoader
{

32
src/UnitTests/LinearAlgebraTests/Double/UserDefinedMatrixTests.cs

@ -1,4 +1,34 @@
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
// <copyright file="UserDefinedMatrixTests.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using LinearAlgebra.Double;

32
src/UnitTests/LinearAlgebraTests/Double/UserDefinedVectorTests.cs

@ -1,4 +1,34 @@
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
// <copyright file="UserDefinedVectorTests.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using System.Collections.Generic;
using LinearAlgebra.Double;

36
src/UnitTests/LinearAlgebraTests/Double/VectorTests.Arithmetic.cs

@ -1,9 +1,39 @@
using System;
using MathNet.Numerics.LinearAlgebra.Double;
using MbUnit.Framework;
// <copyright file="VectorTests.Arithmetic.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using System;
using MathNet.Numerics.LinearAlgebra.Double;
using MbUnit.Framework;
public abstract partial class VectorTests
{
[Test]

32
src/UnitTests/LinearAlgebraTests/Double/VectorTests.Norm.cs

@ -1,7 +1,37 @@
using MbUnit.Framework;
// <copyright file="VectorTests.Norm.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using MbUnit.Framework;
public abstract partial class VectorTests
{
[Test]

39
src/UnitTests/LinearAlgebraTests/Double/VectorTests.cs

@ -1,11 +1,40 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using MathNet.Numerics.LinearAlgebra.Double;
using MbUnit.Framework;
// <copyright file="VectorTests.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
{
using System;
using System.Collections.Generic;
using System.Globalization;
using LinearAlgebra.Double;
using MbUnit.Framework;
using System.Collections;
[TestFixture]

6
src/UnitTests/NumberTheoryTests/GcdRelatedTest.cs

@ -1,8 +1,10 @@
// <copyright file="GcdRelatedTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

6
src/UnitTests/NumberTheoryTests/GcdRelatedTestBigInteger.cs

@ -1,8 +1,10 @@
// <copyright file="GcdRelatedTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

7
src/UnitTests/NumberTheoryTests/IntegerTheoryTest.cs

@ -1,8 +1,10 @@
// <copyright file="IntegerTheoryTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,7 +31,6 @@
namespace MathNet.Numerics.UnitTests.NumberTheoryTests
{
using System;
using System.Numerics;
using NumberTheory;
using MbUnit.Framework;

12
src/UnitTests/PrecisionTest.cs

@ -1,8 +1,10 @@
// <copyright file="PrecisionTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -26,11 +28,11 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using System;
using MbUnit.Framework;
namespace MathNet.Numerics.UnitTests
{
using System;
using MbUnit.Framework;
[TestFixture]
public sealed class PrecisionTest
{

8
src/UnitTests/Random/Mcg31m1Tests.cs

@ -1,8 +1,10 @@
// <copyright file="Mcg31m1Tests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,7 +31,7 @@
namespace MathNet.Numerics.UnitTests.RandomTests
{
using MbUnit.Framework;
using MathNet.Numerics.Random;
using Random;
[TestFixture]
public class Mcg31m1Tests : RandomTests

8
src/UnitTests/Random/Mcg59Tests.cs

@ -1,8 +1,10 @@
// <copyright file="Mcg59Tests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,7 +31,7 @@
namespace MathNet.Numerics.UnitTests.RandomTests
{
using MbUnit.Framework;
using MathNet.Numerics.Random;
using Random;
[TestFixture]
public class Mcg59Tests : RandomTests

8
src/UnitTests/Random/MersenneTwisterTests.cs

@ -1,8 +1,10 @@
// <copyright file="MersenneTwisterTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,7 +31,7 @@
namespace MathNet.Numerics.UnitTests.RandomTests
{
using MbUnit.Framework;
using MathNet.Numerics.Random;
using Random;
[TestFixture]
public class MersenneTwisterTests : RandomTests

8
src/UnitTests/Random/Mrg32k3aTests.cs

@ -1,8 +1,10 @@
// <copyright file="Mrg32k3aTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,7 +31,7 @@
namespace MathNet.Numerics.UnitTests.RandomTests
{
using MbUnit.Framework;
using MathNet.Numerics.Random;
using Random;
[TestFixture]
public class Mrg32k3aTests : RandomTests

9
src/UnitTests/Random/RandomTests.cs

@ -1,8 +1,10 @@
// <copyright file="SystemRandomExtensionTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -31,9 +33,8 @@ namespace MathNet.Numerics.UnitTests.RandomTests
using System;
using System.Threading;
using MbUnit.Framework;
using MathNet.Numerics.Random;
public abstract class RandomTests
public abstract class RandomTests
{
private const int _n = 10000;
private readonly Type _randomType;

8
src/UnitTests/Random/SystemCryptoTests.cs

@ -1,8 +1,10 @@
// <copyright file="SystemCryptoTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,7 +31,7 @@
namespace MathNet.Numerics.UnitTests.RandomTests
{
using MbUnit.Framework;
using MathNet.Numerics.Random;
using Random;
[TestFixture]
public class SystemCryptoRandomNumberGeneratorTests : RandomTests

8
src/UnitTests/Random/SystemRandomExtensionTests.cs

@ -1,8 +1,10 @@
// <copyright file="SystemRandomExtensionTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,7 +31,7 @@
namespace MathNet.Numerics.UnitTests.RandomTests
{
using MbUnit.Framework;
using MathNet.Numerics.Random;
using Random;
[TestFixture]
public class SystemRandomExtensionTests

8
src/UnitTests/Random/WH1982Tests.cs

@ -1,8 +1,10 @@
// <copyright file="WH1982Tests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,7 +31,7 @@
namespace MathNet.Numerics.UnitTests.RandomTests
{
using MbUnit.Framework;
using MathNet.Numerics.Random;
using Random;
[TestFixture]
public class WH1982Tests : RandomTests

8
src/UnitTests/Random/WH2006Tests.cs

@ -1,8 +1,10 @@
// <copyright file="WH2006Tests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,7 +31,7 @@
namespace MathNet.Numerics.UnitTests.RandomTests
{
using MbUnit.Framework;
using MathNet.Numerics.Random;
using Random;
[TestFixture]
public class WH2006Tests : RandomTests

11
src/UnitTests/SortingTests.cs

@ -1,8 +1,10 @@
// <copyright file="SortingTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -30,11 +32,8 @@ namespace MathNet.Numerics.UnitTests
{
using System;
using System.Collections.Generic;
using System.Text;
using MbUnit.Framework;
using MathNet.Numerics;
using Numerics;
[TestFixture]
public class SortingTests

8
src/UnitTests/SpecialFunctionsTests/ErfTests.cs

@ -1,8 +1,10 @@
// <copyright file="ErfTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,7 +31,7 @@
namespace MathNet.Numerics.UnitTests.SpecialFunctionsTests
{
using MbUnit.Framework;
using MathNet.Numerics;
using Numerics;
[TestFixture]
public class ErfTests

6
src/UnitTests/SpecialFunctionsTests/FactorialTest.cs

@ -1,8 +1,10 @@
// <copyright file="FactorialTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

8
src/UnitTests/SpecialFunctionsTests/GammaTests.cs

@ -1,8 +1,10 @@
// <copyright file="GammaTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -30,7 +32,7 @@ namespace MathNet.Numerics.UnitTests.SpecialFunctionsTests
{
using System;
using MbUnit.Framework;
using MathNet.Numerics;
using Numerics;
class GammaTests
{

8
src/UnitTests/SpecialFunctionsTests/SpecialFunctionsTests.cs

@ -1,8 +1,10 @@
// <copyright file="SpecialFunctionsTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -30,7 +32,7 @@ namespace MathNet.Numerics.UnitTests.SpecialFunctionsTests
{
using System;
using MbUnit.Framework;
using MathNet.Numerics;
using Numerics;
class SpecialFunctionsTests
{

11
src/UnitTests/StatisticsTests/CorrelationTests.cs

@ -1,8 +1,10 @@
// <copyright file="CorrelationTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -32,10 +34,9 @@ namespace MathNet.Numerics.UnitTests.StatisticsTests
using System.Linq;
using System.Collections.Generic;
using MbUnit.Framework;
using MathNet.Numerics.Statistics;
using MathNet.Numerics.LinearAlgebra.Double;
using Statistics;
[TestFixture]
[TestFixture]
public class CorrelationTests
{
private readonly IDictionary<string, StatTestData> mData = new Dictionary<string, StatTestData>();

8
src/UnitTests/StatisticsTests/DescriptiveStatisticsTests.cs

@ -1,8 +1,10 @@
// <copyright file="DescriptiveStatisticsTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -30,7 +32,7 @@ namespace MathNet.Numerics.UnitTests.StatisticsTests
{
using System;
using System.Collections.Generic;
using MathNet.Numerics.Statistics;
using Statistics;
using MbUnit.Framework;
[TestFixture]

9
src/UnitTests/StatisticsTests/HistogramTests.cs

@ -1,8 +1,10 @@
// <copyright file="HistogramTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -30,9 +32,8 @@ namespace MathNet.Numerics.UnitTests.StatisticsTests
{
using System;
using System.Collections.Generic;
using System.Text;
using MbUnit.Framework;
using MathNet.Numerics.Statistics;
using Statistics;
[TestFixture]
public class HistogramTests

12
src/UnitTests/StatisticsTests/MCMCTests/MetropolisHastingsSamplerTests.cs

@ -1,8 +1,10 @@
// <copyright file="MetropolisHastingsSamplerTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,9 +31,9 @@
namespace MathNet.Numerics.UnitTests.StatisticsTests.McmcTests
{
using System;
using MathNet.Numerics.Random;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.Statistics.Mcmc;
using Random;
using Distributions;
using Statistics.Mcmc;
using MbUnit.Framework;
[TestFixture]

12
src/UnitTests/StatisticsTests/MCMCTests/MetropolisSamplerTests.cs

@ -1,8 +1,10 @@
// <copyright file="MetropolisSamplerTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,9 +31,9 @@
namespace MathNet.Numerics.UnitTests.StatisticsTests.McmcTests
{
using System;
using MathNet.Numerics.Random;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.Statistics.Mcmc;
using Random;
using Distributions;
using Statistics.Mcmc;
using MbUnit.Framework;
[TestFixture]

12
src/UnitTests/StatisticsTests/MCMCTests/RejectionSamplerTests.cs

@ -1,8 +1,10 @@
// <copyright file="RejectionSamplerTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,9 +31,9 @@
namespace MathNet.Numerics.UnitTests.StatisticsTests.McmcTests
{
using System;
using MathNet.Numerics.Random;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.Statistics.Mcmc;
using Random;
using Distributions;
using Statistics.Mcmc;
using MbUnit.Framework;
[TestFixture]

9
src/UnitTests/StatisticsTests/MCMCTests/UnivariateSliceSamplerTests.cs

@ -1,8 +1,10 @@
// <copyright file="UnivariateSliceSamplerTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -29,8 +31,7 @@
namespace MathNet.Numerics.UnitTests.StatisticsTests.McmcTests
{
using System;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.Statistics.Mcmc;
using Statistics.Mcmc;
using MbUnit.Framework;
[TestFixture]

6
src/UnitTests/StatisticsTests/StatTestData.cs

@ -1,8 +1,10 @@
// <copyright file="StatTestData.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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

9
src/UnitTests/StatisticsTests/StatisticsTests.cs

@ -1,8 +1,10 @@
// <copyright file="StatisticsTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009 Math.NET
// 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
@ -30,9 +32,8 @@ namespace MathNet.Numerics.UnitTests.StatisticsTests
{
using System;
using System.Collections.Generic;
using System.Text;
using MbUnit.Framework;
using MathNet.Numerics.Statistics;
using Statistics;
[TestFixture]
public class StatisticsTests

32
src/UnitTests/TrigonometryTest.cs

@ -1,4 +1,34 @@
namespace MathNet.Numerics.UnitTests
// <copyright file="TrigonometryTests.cs" company="Math.NET">
// 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.
// </copyright>
namespace MathNet.Numerics.UnitTests
{
using System;
using System.Numerics;

Loading…
Cancel
Save