test/test_tools_fail.cc
author deba
Tue, 31 Jan 2006 20:14:52 +0000
changeset 1934 272fa8a0b680
parent 1435 8e85e6bbefdf
child 1956 a055123339d5
permissions -rw-r--r--
Bug fix

ANodeIt/BNodeIt should not be inherited from ANode/BNode

The reason:
assert(graph.id(ANodeIt(graph)) == graph.id((Node)ANodeIt(graph)));
     1 /* -*- C++ -*-
     2  * test/test_tools_fail.cc - Part of LEMON, a generic C++ optimization library
     3  *
     4  * Copyright (C) 2006 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     5  * (Egervary Research Group on Combinatorial Optimization, EGRES).
     6  *
     7  * Permission to use, modify and distribute this software is granted
     8  * provided that this copyright notice appears in all copies. For
     9  * precise terms see the accompanying LICENSE file.
    10  *
    11  * This software is provided "AS IS" with no warranty of any kind,
    12  * express or implied, and with no claim as to its suitability for any
    13  * purpose.
    14  *
    15  */
    16 
    17 #include "test_tools.h"
    18 
    19 int main() 
    20 {
    21   check(false, "Don't panic. Failing is the right behaviour here.");
    22   return 0;
    23 }