COIN-OR::LEMON - Graph Library

Opened 10 years ago

Closed 10 years ago

#100 closed task (fixed)

Revise heaps and heap_test.cc

Reported by: Peter Kovacs Owned by: Peter Kovacs
Priority: major Milestone: LEMON 1.0 release
Component: core Version: hg main
Keywords: Cc:
Revision id:

Description

Currently test/heap_test.cc is not used as a test program.

  1. The heap classes should be checked and heap_test.cc should be revised and used.
  2. Validity and benchmark tests should be separated.

Attachments (1)

fddd4d1ac621.patch (12.1 KB) - added by Balazs Dezso 10 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 10 years ago by Alpar Juttner

Owner: changed from Alpar Juttner to Peter Kovacs

comment:2 Changed 10 years ago by Peter Kovacs

Status: newassigned

Changed 10 years ago by Balazs Dezso

Attachment: fddd4d1ac621.patch added

comment:3 Changed 10 years ago by Balazs Dezso

The [fddd4d1ac621] cleans the heap tests. The following things are changed:

  • The dijkstra heap test's digraph is inlined into the source file
  • The random sequences are fixed
  • The content of the header is moved to the source file
  • Just the binary heap is checked (it is only in the repository)

comment:4 in reply to:  3 Changed 10 years ago by Alpar Juttner

Resolution: fixed
Status: assignedclosed

Replying to deba:

The [fddd4d1ac621] cleans the heap tests. The following things are changed:

  • The dijkstra heap test's digraph is inlined into the source file
  • The random sequences are fixed
  • The content of the header is moved to the source file
  • Just the binary heap is checked (it is only in the repository)

A slightly modified version (with modified commit log) went to the main branch, see [215bfc30b14f].

Note: See TracTickets for help on using tickets.