Changeset 12395 for branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPMultiplexerSampleTest.cs
- Timestamp:
- 05/20/15 16:41:14 (10 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
- Property svn:mergeinfo changed
-
branches/HiveStatistics/sources/HeuristicLab.Tests
- Property svn:mergeinfo changed
-
branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPMultiplexerSampleTest.cs
r11051 r12395 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 33 33 [TestClass] 34 34 public class GPMultiplexerSampleTest { 35 private const string samplesDirectory = SamplesUtils.Directory; 36 [ClassInitialize] 37 public static void MyClassInitialize(TestContext testContext) { 38 if (!Directory.Exists(samplesDirectory)) 39 Directory.CreateDirectory(samplesDirectory); 40 } 35 private const string SampleFileName = "GP_Multiplexer"; 41 36 42 37 [TestMethod] … … 45 40 public void CreateGpMultiplexerSampleTest() { 46 41 var ga = CreateGpMultiplexerSample(); 47 var path = Path.Combine(samplesDirectory, "GP_Multiplexer.hl");42 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 48 43 XmlGenerator.Serialize(ga, path); 49 44 }
Note: See TracChangeset
for help on using the changeset viewer.