- Timestamp:
- 02/13/18 16:56:35 (7 years ago)
- Location:
- branches/2895_PushGP_GenealogyAnalysis
- Files:
-
- 1 added
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/2895_PushGP_GenealogyAnalysis/HeuristicLab.Tests/Simplifier/SimplifierTests.cs
r15017 r15771 1 namespace HeuristicLab.Tests.Simplifier { 2 using System; 3 using HeuristicLab.Problems.ProgramSynthesis.Push.Expressions; 4 using HeuristicLab.Problems.ProgramSynthesis.Push.Interpreter; 5 using HeuristicLab.Problems.ProgramSynthesis.Push.Parser; 6 using HeuristicLab.Problems.ProgramSynthesis.Push.Simplifier; 7 using HeuristicLab.Random; 1 using System; 2 using HeuristicLab.Problems.ProgramSynthesis; 3 using HeuristicLab.Random; 4 using Microsoft.VisualStudio.TestTools.UnitTesting; 8 5 9 using Microsoft.VisualStudio.TestTools.UnitTesting; 10 6 namespace HeuristicLab.Tests.Simplifier { 11 7 [TestClass] 12 8 public class SimplifierTests { 13 14 9 [TestMethod] 15 10 [TestProperty("Time", "Short")] … … 18 13 var program = PushParser.ParseProgram("( ( ( ( ( 1 ) ) ) ) )"); 19 14 var result = PushParser.ParseProgram("( 1 )"); 20 var simplerProgram = Simplifier.SimplifySubPrograms(program);15 var simplerProgram = HeuristicLab.Problems.ProgramSynthesis.Simplifier.SimplifySubPrograms(program); 21 16 22 17 Console.WriteLine(simplerProgram); … … 42 37 }; 43 38 44 var simplerProgram = Simplifier.Simplify(program, pool.PushConfiguration, evaluator);39 var simplerProgram = HeuristicLab.Problems.ProgramSynthesis.Simplifier.Simplify(program, pool.PushConfiguration, evaluator); 45 40 46 41 Console.WriteLine(simplerProgram);
Note: See TracChangeset
for help on using the changeset viewer.