- Timestamp:
- 11/25/14 03:26:00 (10 years ago)
- Location:
- branches/OptimizationNetworks
- Files:
-
- 1 deleted
- 4 edited
- 19 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/OptimizationNetworks
- Property svn:mergeinfo changed
-
branches/OptimizationNetworks/HeuristicLab.Tests
- Property svn:mergeinfo changed
-
branches/OptimizationNetworks/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPMultiplexerSampleTest.cs
r11051 r11576 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 } -
branches/OptimizationNetworks/HeuristicLab.Tests/HeuristicLab-3.3/Samples/SamplesUtils.cs
r11051 r11576 12 12 namespace HeuristicLab.Tests { 13 13 public static class SamplesUtils { 14 public const string Directory = @"Samples\"; 14 public const string SamplesDirectory = @"Samples\"; 15 public const string SampleFileExtension = ".hl"; 15 16 16 17 public static void RunAlgorithm(IAlgorithm a) {
Note: See TracChangeset
for help on using the changeset viewer.