Changeset 12395 for branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPTimeSeriesSampleTest.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/GPTimeSeriesSampleTest.cs
r11091 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. … … 32 32 [TestClass] 33 33 public class GPTimeSeriesSampleTest { 34 private const string samplesDirectory = SamplesUtils.Directory; 35 [ClassInitialize] 36 public static void MyClassInitialize(TestContext testContext) { 37 if (!Directory.Exists(samplesDirectory)) 38 Directory.CreateDirectory(samplesDirectory); 39 } 34 private const string SampleFileName = "OSGP_TimeSeries"; 40 35 41 36 [TestMethod] … … 44 39 public void CreateGpTimeSeriesSampleTest() { 45 40 var ga = CreateGpTimeSeriesSample(); 46 var path = Path.Combine(samplesDirectory, "OSGP_TimeSeries.hl");41 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 47 42 XmlGenerator.Serialize(ga, path); 48 43 }
Note: See TracChangeset
for help on using the changeset viewer.