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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic.TimeSeriesPrognosis-3.4/SymbolicDataAnalysisExpressionTreeInterpreterTest.cs

    r9764 r9785  
    2525using System.Linq;
    2626using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    27 using HeuristicLab.Problems.DataAnalysis.Symbolic.TimeSeriesPrognosis;
    2827using HeuristicLab.Problems.DataAnalysis.Symbolic.Tests;
    2928using HeuristicLab.Random;
     
    3635    private const int Rows = 100;
    3736    private const int Columns = 50;
    38     private TestContext testContextInstance;
    39 
    40     /// <summary>
    41     ///Gets or sets the test context which provides
    42     ///information about and functionality for the current test run.
    43     ///</summary>
    44     public TestContext TestContext {
    45       get {
    46         return testContextInstance;
    47       }
    48       set {
    49         testContextInstance = value;
    50       }
    51     }
    5237
    5338    [TestMethod]
     39    [TestCategory("Problems.DataAnalysis")]
     40    [TestProperty("Time", "long")]
    5441    public void SymbolicTimeSeriesPrognosisTreeInterpreterTypeCoherentGrammarPerformanceTest() {
    5542      TypeCoherentGrammarPerformanceTest(new SymbolicTimeSeriesPrognosisExpressionTreeInterpreter("y"), 12.5e6);
    5643    }
     44
    5745    [TestMethod]
     46    [TestCategory("Problems.DataAnalysis")]
     47    [TestProperty("Time", "long")]
    5848    public void SymbolicTimeSeriesPrognosisTreeInterpreterFullGrammarPerformanceTest() {
    5949      FullGrammarPerformanceTest(new SymbolicTimeSeriesPrognosisExpressionTreeInterpreter("y"), 12.5e6);
    6050    }
     51
    6152    [TestMethod]
     53    [TestCategory("Problems.DataAnalysis")]
     54    [TestProperty("Time", "long")]
    6255    public void SymbolicTimeSeriesPrognosisTreeInterpreterArithmeticGrammarPerformanceTest() {
    6356      ArithmeticGrammarPerformanceTest(new SymbolicTimeSeriesPrognosisExpressionTreeInterpreter("y"), 12.5e6);
     
    122115    ///</summary>
    123116    [TestMethod]
     117    [TestCategory("Problems.DataAnalysis")]
     118    [TestProperty("Time", "short")]
    124119    public void SymbolicDataAnalysisExpressionTreeInterpreterEvaluateTest() {
    125120      Dataset ds = new Dataset(new string[] { "Y", "A", "B" }, new double[,] {
     
    144139    }
    145140
    146     //[TestMethod]
    147     //public void SymbolicDataAnalysisExpressionILEmittingTreeInterpreterEvaluateTest() {
    148     //  Dataset ds = new Dataset(new string[] { "Y", "A", "B" }, new double[,] {
    149     //    { 1.0, 1.0, 1.0 },
    150     //    { 2.0, 2.0, 2.0 },
    151     //    { 3.0, 1.0, 2.0 },
    152     //    { 4.0, 1.0, 1.0 },
    153     //    { 5.0, 2.0, 2.0 },
    154     //    { 6.0, 1.0, 2.0 },
    155     //    { 7.0, 1.0, 1.0 },
    156     //    { 8.0, 2.0, 2.0 },
    157     //    { 9.0, 1.0, 2.0 },
    158     //    { 10.0, 1.0, 1.0 },
    159     //    { 11.0, 2.0, 2.0 },
    160     //    { 12.0, 1.0, 2.0 }
    161     //  });
    162 
    163     //  var interpreter = new SymbolicDataAnalysisExpressionTreeILEmittingInterpreter();
    164     //  EvaluateTerminals(interpreter, ds);
    165     //  EvaluateOperations(interpreter, ds);
    166     //}
    167 
    168141    private void EvaluateTerminals(ISymbolicDataAnalysisExpressionTreeInterpreter interpreter, Dataset ds) {
    169142      // constants
Note: See TracChangeset for help on using the changeset viewer.