- Timestamp:
- 02/05/15 10:51:29 (9 years ago)
- Location:
- stable
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 11450,11466,11483,11514-11515,11545,11547,11735,11789,11890
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/PsoSchwefelSampleTest.cs
r11450 r11907 32 32 33 33 namespace HeuristicLab.Tests { 34 /// <summary>35 /// Summary description for PsoSchwefelSampleTest36 /// </summary>37 34 [TestClass] 38 35 public class PsoSchwefelSampleTest { 39 private const string samplesDirectory = SamplesUtils.Directory; 40 [ClassInitialize] 41 public static void MyClassInitialize(TestContext testContext) { 42 if (!Directory.Exists(samplesDirectory)) 43 Directory.CreateDirectory(samplesDirectory); 44 } 36 private const string SampleFileName = "PSO_Schwefel"; 45 37 46 38 [TestMethod] … … 49 41 public void CreatePsoSchwefelSampleTest() { 50 42 var pso = CreatePsoSchwefelSample(); 51 XmlGenerator.Serialize(pso, @"Samples\PSO_Schwefel.hl"); 43 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 44 XmlGenerator.Serialize(pso, path); 52 45 } 53 46 [TestMethod]
Note: See TracChangeset
for help on using the changeset viewer.