Changeset 9885 for stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicDataAnalysisExpressionTreeInterpreterTest.cs
- Timestamp:
- 08/20/13 17:03:31 (11 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 9764-9775,9777-9778,9782-9786,9792,9803,9806-9807,9810
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 9764-9775,9777-9778,9782-9786,9792,9803,9806
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicDataAnalysisExpressionTreeInterpreterTest.cs
r9456 r9885 25 25 using System.Linq; 26 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using HeuristicLab.Problems.DataAnalysis.Symbolic;28 27 using HeuristicLab.Random; 29 28 using Microsoft.VisualStudio.TestTools.UnitTesting; 30 namespace HeuristicLab.Problems.DataAnalysis.Symbolic _34.Tests {29 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Tests { 31 30 32 31 … … 52 51 53 52 [TestMethod] 53 [TestCategory("Problems.DataAnalysis")] 54 [TestProperty("Time", "long")] 54 55 public void SymbolicDataAnalysisExpressionTreeInterpreterTypeCoherentGrammarPerformanceTest() { 55 56 TypeCoherentGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeInterpreter(), 12.5e6); 56 57 } 57 [TestMethod] 58 59 [TestMethod] 60 [TestCategory("Problems.DataAnalysis")] 61 [TestProperty("Time", "long")] 58 62 public void SymbolicDataAnalysisExpressionTreeInterpreterFullGrammarPerformanceTest() { 59 63 FullGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeInterpreter(), 12.5e6); 60 64 } 61 [TestMethod] 65 66 [TestMethod] 67 [TestCategory("Problems.DataAnalysis")] 68 [TestProperty("Time", "long")] 62 69 public void SymbolicDataAnalysisExpressionTreeInterpreterArithmeticGrammarPerformanceTest() { 63 70 ArithmeticGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeInterpreter(), 12.5e6); … … 65 72 66 73 [TestMethod] 74 [TestCategory("Problems.DataAnalysis")] 75 [TestProperty("Time", "long")] 67 76 public void SymbolicDataAnalysisExpressionTreeILEmittingInterpreterTypeCoherentGrammarPerformanceTest() { 68 77 TypeCoherentGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeILEmittingInterpreter(), 7.5e6); 69 78 } 70 [TestMethod] 79 80 [TestMethod] 81 [TestCategory("Problems.DataAnalysis")] 82 [TestProperty("Time", "long")] 71 83 public void SymbolicDataAnalysisExpressionTreeILEmittingInterpreterFullGrammarPerformanceTest() { 72 84 FullGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeILEmittingInterpreter(), 7.5e6); 73 85 } 86 87 [TestCategory("Problems.DataAnalysis")] 88 [TestProperty("Time", "long")] 74 89 [TestMethod] 75 90 public void SymbolicDataAnalysisExpressionTreeILEmittingInterpreterArithmeticGrammarPerformanceTest() { … … 135 150 ///</summary> 136 151 [TestMethod] 152 [TestCategory("Problems.DataAnalysis")] 153 [TestProperty("Time", "short")] 137 154 public void SymbolicDataAnalysisExpressionTreeInterpreterEvaluateTest() { 138 155 Dataset ds = new Dataset(new string[] { "Y", "A", "B" }, new double[,] { … … 158 175 159 176 [TestMethod] 177 [TestCategory("Problems.DataAnalysis")] 178 [TestProperty("Time", "short")] 160 179 public void SymbolicDataAnalysisExpressionILEmittingTreeInterpreterEvaluateTest() { 161 180 Dataset ds = new Dataset(new string[] { "Y", "A", "B" }, new double[,] { … … 411 430 try { 412 431 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 415 433 } 416 434 };
Note: See TracChangeset
for help on using the changeset viewer.