Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/26/13 14:11:33 (11 years ago)
Author:
abeham
Message:

#2088: Added test attributes for Problems.DataAnalysis

Location:
trunk/sources/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis-3.4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis-3.4/OnlineCalculatorPerformanceTest.cs

    r9764 r9785  
    2323using System.Diagnostics;
    2424using System.Linq;
    25 using HeuristicLab.Problems.DataAnalysis;
    2625using HeuristicLab.Random;
    2726using Microsoft.VisualStudio.TestTools.UnitTesting;
     
    3534
    3635    private TestContext testContextInstance;
    37 
    3836    /// <summary>
    3937    ///Gets or sets the test context which provides
     
    4745
    4846    [TestMethod]
     47    [TestCategory("Problems.DataAnalysis")]
     48    [TestProperty("Time", "medium")]
    4949    public void OnlineAccuracyCalculatorPerformanceTest() {
    5050      TestCalculatorPerfomance(OnlineAccuracyCalculator.Calculate);
    5151    }
    5252    [TestMethod]
     53    [TestCategory("Problems.DataAnalysis")]
     54    [TestProperty("Time", "medium")]
    5355    public void OnlineCovarianceCalculatorPerformanceTest() {
    5456      TestCalculatorPerfomance(OnlineCovarianceCalculator.Calculate);
    5557    }
    5658    [TestMethod]
     59    [TestCategory("Problems.DataAnalysis")]
     60    [TestProperty("Time", "medium")]
    5761    public void OnlineMeanAbsolutePercentageErrorCalculatorPerformanceTest() {
    5862      TestCalculatorPerfomance(OnlineMeanAbsolutePercentageErrorCalculator.Calculate);
     
    6064
    6165    [TestMethod]
     66    [TestCategory("Problems.DataAnalysis")]
     67    [TestProperty("Time", "medium")]
    6268    public void OnlineMeanSquaredErrorCalculatorPerformanceTest() {
    6369      TestCalculatorPerfomance(OnlineMeanSquaredErrorCalculator.Calculate);
    6470    }
    6571    [TestMethod]
     72    [TestCategory("Problems.DataAnalysis")]
     73    [TestProperty("Time", "medium")]
    6674    public void OnlineNormalizedMeanSquaredErrorCalculatorPerformanceTest() {
    6775      TestCalculatorPerfomance(OnlineNormalizedMeanSquaredErrorCalculator.Calculate);
    6876    }
    6977    [TestMethod]
     78    [TestCategory("Problems.DataAnalysis")]
     79    [TestProperty("Time", "medium")]
    7080    public void OnlinePearsonsRSquaredCalculatorPerformanceTest() {
    7181      TestCalculatorPerfomance(OnlinePearsonsRSquaredCalculator.Calculate);
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis-3.4/StatisticCalculatorsTest.cs

    r9764 r9785  
    2323using System.Linq;
    2424using HeuristicLab.Common;
    25 using HeuristicLab.Problems.DataAnalysis;
    2625using Microsoft.VisualStudio.TestTools.UnitTesting;
    2726namespace HeuristicLab.Problems.DataAnalysis.Tests {
     
    5453
    5554    [TestMethod]
     55    [TestCategory("Problems.DataAnalysis")]
     56    [TestProperty("Time", "short")]
    5657    public void CalculateMeanAndVarianceTest() {
    5758      System.Random random = new System.Random(31415);
     
    8586
    8687    [TestMethod]
     88    [TestCategory("Problems.DataAnalysis")]
     89    [TestProperty("Time", "short")]
    8790    public void CalculatePearsonsRSquaredTest() {
    8891      System.Random random = new System.Random(31415);
     
    114117      }
    115118    }
    116     [TestMethod]
     119
     120    [TestMethod]
     121    [TestCategory("Problems.DataAnalysis")]
     122    [TestProperty("Time", "short")]
    117123    public void CalculatePearsonsRSquaredOfConstantTest() {
    118124      System.Random random = new System.Random(31415);
     
    141147
    142148    [TestMethod]
     149    [TestCategory("Problems.DataAnalysis")]
     150    [TestProperty("Time", "short")]
    143151    public void CalculateHoeffdingsDTest() {
    144152      OnlineCalculatorError error;
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis-3.4/ThresholdCalculatorsTest.cs

    r9764 r9785  
    2020#endregion
    2121
    22 using HeuristicLab.Problems.DataAnalysis;
    2322using Microsoft.VisualStudio.TestTools.UnitTesting;
     23
    2424namespace HeuristicLab.Problems.DataAnalysis.Tests {
    2525
     
    2727  public class ThresholdCalculatorsTest {
    2828    [TestMethod]
     29    [TestCategory("Problems.DataAnalysis")]
     30    [TestProperty("Time", "short")]
    2931    public void NormalDistributionCutPointsThresholdCalculatorTest() {
    3032
Note: See TracChangeset for help on using the changeset viewer.