Free cookie consent management tool by TermsFeed Policy Generator

Opened 7 years ago

Closed 7 years ago

#2803 closed defect (done)

Fix igraph tests

Reported by: abeham Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.15
Component: ExtLibs Version: 3.3.14
Keywords: Cc:

Description (last modified by abeham)

Shuffle test does not actually test if the vector is shuffled. And other tests are missing a call to Dispose as Vector, Matrix, and Graph are all IDisposable.

Change History (5)

comment:1 Changed 7 years ago by abeham

  • Owner set to abeham
  • Status changed from new to accepted

comment:2 Changed 7 years ago by abeham

  • Description modified (diff)
  • Summary changed from Fix igraph shuffle test to Fix igraph tests

comment:3 Changed 7 years ago by abeham

  • Owner changed from abeham to gkronber
  • Status changed from accepted to reviewing

r15191: fixed tests r15192: improved shuffle test a little

In the shuffle test, which is actually a probabilistic test, I just check that at least two different shuffles are produced. In the console output around 50 different shuffles (from a total of 60 possible) are produced.

comment:4 Changed 7 years ago by gkronber

  • Owner changed from gkronber to abeham
  • Status changed from reviewing to readytorelease

Reviewed r15191, r15192.

comment:5 Changed 7 years ago by abeham

  • Resolution set to done
  • Status changed from readytorelease to closed

r15218: merged revisions 15191, 15192 to stable

Note: See TracTickets for help on using tickets.