Changeset 17226 for branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab-3.3/Samples/EsGriewankSampleTest.cs
- Timestamp:
- 08/29/19 15:57:35 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Tests
- Property svn:mergeinfo changed
/branches/2435-alglib_3_15/HeuristicLab.Tests (added) merged: 17034 /trunk/HeuristicLab.Tests merged: 16997,17019,17021,17024,17033,17037,17125,17180
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab-3.3/Samples/EsGriewankSampleTest.cs
r16723 r17226 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2019Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using System.IO; 23 using HEAL.Attic; 23 24 using HeuristicLab.Algorithms.EvolutionStrategy; 24 25 using HeuristicLab.Data; 25 26 using HeuristicLab.Encodings.RealVectorEncoding; 26 using HeuristicLab.Persistence.Default.Xml;27 27 using HeuristicLab.Problems.TestFunctions; 28 28 using Microsoft.VisualStudio.TestTools.UnitTesting; … … 33 33 private const string SampleFileName = "ES_Griewank"; 34 34 35 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 36 35 37 [TestMethod] 36 38 [TestCategory("Samples.Create")] … … 39 41 var es = CreateEsGriewankSample(); 40 42 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 41 XmlGenerator.Serialize(es, path);43 serializer.Serialize(es, path); 42 44 } 43 45
Note: See TracChangeset
for help on using the changeset viewer.