- Timestamp:
- 06/18/19 23:15:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPRobocodeSampleTest.cs
r16565 r17021 22 22 using System.IO; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Algorithms.GeneticAlgorithm; 25 26 using HeuristicLab.Data; 26 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using HeuristicLab.Persistence.Default.Xml;28 28 using HeuristicLab.Problems.GeneticProgramming.Robocode; 29 29 using HeuristicLab.Selection; … … 35 35 private const string SampleFileName = "SGP_Robocode"; 36 36 37 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 38 37 39 [TestMethod] 38 40 [TestCategory("Samples.Create")] … … 41 43 var ga = CreateGpRobocodeSample(); 42 44 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 43 XmlGenerator.Serialize(ga, path);45 serializer.Serialize(ga, path); 44 46 } 45 47
Note: See TracChangeset
for help on using the changeset viewer.