Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/24/16 14:12:21 (8 years ago)
Author:
bwerth
Message:

#1087 annotated unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/MultiObjectiveTestfunctionTests/HyperVolumeTests.cs

    r13673 r13729  
    4343    /// </summary>
    4444    [TestMethod]
     45    [TestCategory("Problems.TestFunctions")]
     46    [TestProperty("Time", "short")]
    4547    public void SinglePointTest() {
    4648
     
    98100    /// </summary>
    99101    [TestMethod]
     102    [TestCategory("Problems.TestFunctions")]
     103    [TestProperty("Time", "short")]
    100104    public void RandomSinglePointTest() {
    101105      //Front with a single Point
     
    133137      referencePoint[1] = 0;
    134138      double se = Hypervolume.Calculate(front, referencePoint, maximization);
    135       Assert.AreEqual(1.0, ne + se + nw + sw);
     139      Assert.AreEqual(1.0, ne + se + nw + sw, 1e8);
    136140    }
    137141
     
    149153    /// </summary>
    150154    [TestMethod]
     155    [TestCategory("Problems.TestFunctions")]
     156    [TestProperty("Time", "short")]
    151157    public void DiagonalPointTest() {
    152158      //Front with three points
     
    197203    [TestMethod()]
    198204    [ExpectedException(typeof(ArgumentException))]
     205    [TestCategory("Problems.TestFunctions")]
     206    [TestProperty("Time", "short")]
    199207    public void ReferencePointViolationNE() {
    200208      //Front with a single Point
     
    216224    [TestMethod()]
    217225    [ExpectedException(typeof(ArgumentException))]
     226    [TestCategory("Problems.TestFunctions")]
     227    [TestProperty("Time", "short")]
    218228    public void ReferencePointViolationNW() {
    219229      //Front with a single Point
     
    236246    [TestMethod()]
    237247    [ExpectedException(typeof(ArgumentException))]
     248    [TestCategory("Problems.TestFunctions")]
     249    [TestProperty("Time", "short")]
    238250    public void ReferencePointViolationSW() {
    239251      //Front with a single Point
     
    256268    [TestMethod()]
    257269    [ExpectedException(typeof(ArgumentException))]
     270    [TestCategory("Problems.TestFunctions")]
     271    [TestProperty("Time", "short")]
    258272    public void ReferencePointViolationSE() {
    259273      //Front with a single Point
Note: See TracChangeset for help on using the changeset viewer.