Changeset 14121 for trunk/sources/HeuristicLab.Tests/HeuristicLab.Problems.TestFunctions.MultiObjective-3.3/SpacingTest.cs
- Timestamp:
- 07/19/16 18:24:53 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Tests/HeuristicLab.Problems.TestFunctions.MultiObjective-3.3
- Files:
-
- 1 added
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab.Problems.TestFunctions.MultiObjective-3.3/SpacingTest.cs
r14111 r14121 20 20 #endregion 21 21 using System; 22 using HeuristicLab.Problems.TestFunctions.MultiObjective;23 22 using Microsoft.VisualStudio.TestTools.UnitTesting; 24 23 25 namespace MultiObjectiveTestfunctionTests {24 namespace HeuristicLab.Problems.TestFunctions.MultiObjective.Tests { 26 25 [TestClass] 27 26 public class SpacingTest { 28 29 30 27 [TestMethod] 31 28 [ExpectedException(typeof(ArgumentException))] 32 [TestCategory("Problems.TestFunctions ")]29 [TestCategory("Problems.TestFunctions.MultiObjective")] 33 30 [TestProperty("Time", "short")] 34 public void EmptyFrontTest() {31 public void SpacingTestEmptyFront() { 35 32 double[][] front = { }; 36 33 … … 39 36 40 37 [TestMethod] 41 [TestCategory("Problems.TestFunctions ")]38 [TestCategory("Problems.TestFunctions.MultiObjective")] 42 39 [TestProperty("Time", "short")] 43 public void S amePointTest() {40 public void SpacingTestSamePoint() { 44 41 45 42 double[] point = new double[2]; … … 56 53 57 54 [TestMethod] 58 [TestCategory("Problems.TestFunctions ")]55 [TestCategory("Problems.TestFunctions.MultiObjective")] 59 56 [TestProperty("Time", "short")] 60 public void S inglePointTest() {57 public void SpacingTestSinglePoint() { 61 58 double[] point = new double[2]; 62 59 point[0] = 0; … … 68 65 69 66 [TestMethod] 70 [TestCategory("Problems.TestFunctions ")]67 [TestCategory("Problems.TestFunctions.MultiObjective")] 71 68 [TestProperty("Time", "short")] 72 public void QuadraticTest() {69 public void SpacingTestQuadratic() { 73 70 double[] point = new double[2]; 74 71 point[0] = 0; … … 90 87 91 88 [TestMethod] 92 [TestCategory("Problems.TestFunctions ")]89 [TestCategory("Problems.TestFunctions.MultiObjective")] 93 90 [TestProperty("Time", "short")] 94 public void RectangularTest() {91 public void SpacingTestRectangular() { 95 92 double[] point = new double[2]; 96 93 point[0] = 0; … … 117 114 /// </summary> 118 115 [TestMethod] 119 [TestCategory("Problems.TestFunctions ")]116 [TestCategory("Problems.TestFunctions.MultiObjective")] 120 117 [TestProperty("Time", "short")] 121 public void DeltoidTest() {118 public void SpacingTestDeltoid() { 122 119 double[] point = new double[2]; 123 120 point[0] = 0; … … 137 134 Assert.AreEqual(Math.Sqrt(3), dist); 138 135 } 139 140 141 136 } 142 143 144 137 }
Note: See TracChangeset
for help on using the changeset viewer.