Free cookie consent management tool by TermsFeed Policy Generator

Changeset 11244


Ignore:
Timestamp:
07/30/14 15:23:40 (10 years ago)
Author:
bburlacu
Message:

#2215: Updated test traits in the bottom up and max common subtree similarity tests.

Location:
branches/HeuristicLab.BottomUpTreeDistance/HeuristicLab.Tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BottomUpTreeDistance/HeuristicLab.Tests/BottomUpTreeSimilarityCalculatorTest.cs

    r11239 r11244  
    5454    }
    5555
     56    [TestMethod]
     57    [TestCategory("Problems.DataAnalysis.Symbolic")]
     58    [TestProperty("Time", "short")]
    5659    private void TestMatchedNodes(string expr1, string expr2, int expected) {
    5760      var t1 = importer.Import(expr1);
  • branches/HeuristicLab.BottomUpTreeDistance/HeuristicLab.Tests/MaxCommonSubtreeSimilarityCalculatorTest.cs

    r11239 r11244  
    1313  [TestClass]
    1414  public class MaxCommonSubtreeSimilarityCalculatorTest {
    15     private ISymbolicExpressionTreeNodeSimilarityComparer comparer;
     15    private readonly ISymbolicExpressionTreeNodeSimilarityComparer comparer;
    1616
    1717    private const int N = 100;
     
    2222      comparer = new SymbolicExpressionTreeNodeSimilarityComparer();
    2323    }
    24 
    25     private TestContext testContextInstance;
    26 
    27     //    /// <summary>
    28     //    ///Gets or sets the test context which provides
    29     //    ///information about and functionality for the current test run.
    30     //    ///</summary>
    31     //    public TestContext TestContext {
    32     //      get {
    33     //        return testContextInstance;
    34     //      }
    35     //      set {
    36     //        testContextInstance = value;
    37     //      }
    38     //    }
    3924
    4025    #region Additional test attributes
     
    6146
    6247    [TestMethod]
     48    [TestCategory("Problems.DataAnalysis.Symbolic")]
     49    [TestProperty("Time", "long")]
    6350    public void TestMaxCommonSubtreeSimilarityCalculatorPerformance() {
    6451      var grammar = new TypeCoherentExpressionGrammar();
Note: See TracChangeset for help on using the changeset viewer.