- Timestamp:
- 06/18/19 23:15:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPMultiplexerSampleTest.cs
r16565 r17021 21 21 22 22 using System.IO; 23 using HEAL.Attic; 23 24 using HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm; 24 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using HeuristicLab.Persistence.Default.Xml;26 26 using HeuristicLab.Selection; 27 27 using Microsoft.VisualStudio.TestTools.UnitTesting; … … 32 32 private const string SampleFileName = "GP_Multiplexer"; 33 33 34 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 35 34 36 [TestMethod] 35 37 [TestCategory("Samples.Create")] … … 38 40 var ga = CreateGpMultiplexerSample(); 39 41 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 40 XmlGenerator.Serialize(ga, path);42 serializer.Serialize(ga, path); 41 43 } 42 44 [TestMethod]
Note: See TracChangeset
for help on using the changeset viewer.