Changeset 11677 for branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/TabuSearchVRPSampleTest.cs
- Timestamp:
- 12/10/14 10:31:41 (9 years ago)
- Location:
- branches/ALPS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ALPS
-
branches/ALPS/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests (added) merged: 11514-11515,11545,11547,11597,11600,11623
- Property svn:mergeinfo changed
-
branches/ALPS/HeuristicLab.Tests/HeuristicLab-3.3/Samples/TabuSearchVRPSampleTest.cs
r11450 r11677 30 30 31 31 namespace HeuristicLab.Tests { 32 /// <summary>33 /// Summary description for TabuSearchVRPSampleTest34 /// </summary>35 32 [TestClass] 36 33 public class TabuSearchVRPSampleTest { 37 private const string samplesDirectory = SamplesUtils.Directory; 38 [ClassInitialize] 39 public static void MyClassInitialize(TestContext testContext) { 40 if (!Directory.Exists(samplesDirectory)) 41 Directory.CreateDirectory(samplesDirectory); 42 } 34 private const string SampleFileName = "TS_VRP"; 43 35 44 36 [TestMethod] … … 47 39 public void CreateTabuSearchVRPSampleTest() { 48 40 var vrp = CreateTabuSearchVrpSample(); 49 XmlGenerator.Serialize(vrp, @"Samples\TS_VRP.hl"); 41 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 42 XmlGenerator.Serialize(vrp, path); 50 43 } 51 44 [TestMethod]
Note: See TracChangeset
for help on using the changeset viewer.