Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/19/16 18:24:53 (8 years ago)
Author:
mkommend
Message:

#1087: Copied unit tests from branch and adapted path of multi-objective test function project file.

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/InvertedGenerationalDistanceTest.cs

    r14111 r14121  
    2020#endregion
    2121using System;
    22 using HeuristicLab.Problems.TestFunctions.MultiObjective;
    2322using Microsoft.VisualStudio.TestTools.UnitTesting;
    2423
    25 namespace MultiObjectiveTestfunctionTests {
     24namespace HeuristicLab.Problems.TestFunctions.MultiObjective.Tests {
    2625  [TestClass]
    2726  public class InvertedGenerationalDistanceTest {
     
    2928    [TestMethod]
    3029    [ExpectedException(typeof(ArgumentException))]
    31     [TestCategory("Problems.TestFunctions")]
     30    [TestCategory("Problems.TestFunctions.MultiObjective")]
    3231    [TestProperty("Time", "short")]
    33     public void EmptyOptimalFrontTest() {
     32    public void InvertedGenerationalDistanceTestEmptyOptimalFront() {
    3433
    3534      double[] point = new double[2];
     
    4342    [TestMethod]
    4443    [ExpectedException(typeof(ArgumentException))]
    45     [TestCategory("Problems.TestFunctions")]
     44    [TestCategory("Problems.TestFunctions.MultiObjective")]
    4645    [TestProperty("Time", "short")]
    47     public void EmptyFrontTest() {
     46    public void InvertedGenerationalDistanceTestEmptyFront() {
    4847
    4948      double[] point = new double[2];
     
    5655
    5756    [TestMethod]
    58     [TestCategory("Problems.TestFunctions")]
     57    [TestCategory("Problems.TestFunctions.MultiObjective")]
    5958    [TestProperty("Time", "short")]
    60     public void SamePointTest() {
     59    public void InvertedGenerationalDistanceTestSamePoint() {
    6160      double[] point = new double[2];
    6261      point[0] = 0.5;
     
    7271
    7372    [TestMethod]
    74     [TestCategory("Problems.TestFunctions")]
     73    [TestCategory("Problems.TestFunctions.MultiObjective")]
    7574    [TestProperty("Time", "short")]
    76     public void SinglePointTest() {
     75    public void InvertedGenerationalDistanceTestSinglePoint() {
    7776      double[] point = new double[2];
    7877      point[0] = 0;
     
    8887
    8988    [TestMethod]
    90     [TestCategory("Problems.TestFunctions")]
     89    [TestCategory("Problems.TestFunctions.MultiObjective")]
    9190    [TestProperty("Time", "short")]
    92     public void DifferentSizesTest() {
     91    public void InvertedGenerationalDistanceTestDifferentSizes() {
    9392      double[] point = new double[2];
    9493      point[0] = 0;
     
    107106
    108107    [TestMethod]
    109     [TestCategory("Problems.TestFunctions")]
     108    [TestCategory("Problems.TestFunctions.MultiObjective")]
    110109    [TestProperty("Time", "short")]
    111     public void QuadraticTest() {
     110    public void InvertedGenerationalDistanceTestQuadratic() {
    112111      double[] point = new double[2];
    113112      point[0] = 0;
Note: See TracChangeset for help on using the changeset viewer.