- Timestamp:
- 07/08/19 00:23:12 (5 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Tests merged: 16585,16594,16625,16658,16906,16908,16997,17021,17024
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/OSESGriewankSampleTest.cs
r17097 r17105 21 21 22 22 using System.IO; 23 using H euristicLab.Algorithms.EvolutionStrategy;23 using HEAL.Attic; 24 24 using HeuristicLab.Algorithms.OffspringSelectionEvolutionStrategy; 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Encodings.RealVectorEncoding; 27 using HeuristicLab.Persistence.Default.Xml;28 27 using HeuristicLab.Problems.TestFunctions; 29 28 using Microsoft.VisualStudio.TestTools.UnitTesting; … … 33 32 public class OSESGriewankSampleTest { 34 33 private const string SampleFileName = "OSES_Griewank"; 34 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 35 35 36 36 [TestMethod] … … 40 40 var es = CreateOSESGriewankSample(); 41 41 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 42 XmlGenerator.Serialize(es, path);42 serializer.Serialize(es, path); 43 43 } 44 44
Note: See TracChangeset
for help on using the changeset viewer.