Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/20/13 17:03:31 (11 years ago)
Author:
mkommend
Message:

#2088: Merged all changesets regarding the unit test restructuring in the stable branch.

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Tests

  • stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicDataAnalysisExpressionTreeInterpreterTest.cs

    r9456 r9885  
    2525using System.Linq;
    2626using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    27 using HeuristicLab.Problems.DataAnalysis.Symbolic;
    2827using HeuristicLab.Random;
    2928using Microsoft.VisualStudio.TestTools.UnitTesting;
    30 namespace HeuristicLab.Problems.DataAnalysis.Symbolic_34.Tests {
     29namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Tests {
    3130
    3231
     
    5251
    5352    [TestMethod]
     53    [TestCategory("Problems.DataAnalysis")]
     54    [TestProperty("Time", "long")]
    5455    public void SymbolicDataAnalysisExpressionTreeInterpreterTypeCoherentGrammarPerformanceTest() {
    5556      TypeCoherentGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeInterpreter(), 12.5e6);
    5657    }
    57     [TestMethod]
     58
     59    [TestMethod]
     60    [TestCategory("Problems.DataAnalysis")]
     61    [TestProperty("Time", "long")]
    5862    public void SymbolicDataAnalysisExpressionTreeInterpreterFullGrammarPerformanceTest() {
    5963      FullGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeInterpreter(), 12.5e6);
    6064    }
    61     [TestMethod]
     65
     66    [TestMethod]
     67    [TestCategory("Problems.DataAnalysis")]
     68    [TestProperty("Time", "long")]
    6269    public void SymbolicDataAnalysisExpressionTreeInterpreterArithmeticGrammarPerformanceTest() {
    6370      ArithmeticGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeInterpreter(), 12.5e6);
     
    6572
    6673    [TestMethod]
     74    [TestCategory("Problems.DataAnalysis")]
     75    [TestProperty("Time", "long")]
    6776    public void SymbolicDataAnalysisExpressionTreeILEmittingInterpreterTypeCoherentGrammarPerformanceTest() {
    6877      TypeCoherentGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeILEmittingInterpreter(), 7.5e6);
    6978    }
    70     [TestMethod]
     79
     80    [TestMethod]
     81    [TestCategory("Problems.DataAnalysis")]
     82    [TestProperty("Time", "long")]
    7183    public void SymbolicDataAnalysisExpressionTreeILEmittingInterpreterFullGrammarPerformanceTest() {
    7284      FullGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeILEmittingInterpreter(), 7.5e6);
    7385    }
     86
     87    [TestCategory("Problems.DataAnalysis")]
     88    [TestProperty("Time", "long")]
    7489    [TestMethod]
    7590    public void SymbolicDataAnalysisExpressionTreeILEmittingInterpreterArithmeticGrammarPerformanceTest() {
     
    135150    ///</summary>
    136151    [TestMethod]
     152    [TestCategory("Problems.DataAnalysis")]
     153    [TestProperty("Time", "short")]
    137154    public void SymbolicDataAnalysisExpressionTreeInterpreterEvaluateTest() {
    138155      Dataset ds = new Dataset(new string[] { "Y", "A", "B" }, new double[,] {
     
    158175
    159176    [TestMethod]
     177    [TestCategory("Problems.DataAnalysis")]
     178    [TestProperty("Time", "short")]
    160179    public void SymbolicDataAnalysisExpressionILEmittingTreeInterpreterEvaluateTest() {
    161180      Dataset ds = new Dataset(new string[] { "Y", "A", "B" }, new double[,] {
     
    411430          try {
    412431            Evaluate(interpreter, ds, "(psi " + x + ")", 0, alglib.psi(x));
    413           }
    414           catch (alglib.alglibexception) { // ignore cases where alglib throws an exception
     432          } catch (alglib.alglibexception) { // ignore cases where alglib throws an exception
    415433          }
    416434        };
Note: See TracChangeset for help on using the changeset viewer.