test/digraph_test.cc
changeset 217 b67149f0e675
parent 171 02f4d5d9bfd7
child 228 b6732e0d38c5
equal deleted inserted replaced
2:c91e35ba2876 3:da48e14e9222
     1 /* -*- C++ -*-
     1 /* -*- mode: C++; indent-tabs-mode: nil; -*-
     2  *
     2  *
     3  * This file is a part of LEMON, a generic C++ optimization library
     3  * This file is a part of LEMON, a generic C++ optimization library.
     4  *
     4  *
     5  * Copyright (C) 2003-2008
     5  * Copyright (C) 2003-2008
     6  * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     6  * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     7  * (Egervary Research Group on Combinatorial Optimization, EGRES).
     7  * (Egervary Research Group on Combinatorial Optimization, EGRES).
     8  *
     8  *
    31 
    31 
    32 void check_concepts() {
    32 void check_concepts() {
    33   { // Checking digraph components
    33   { // Checking digraph components
    34     checkConcept<BaseDigraphComponent, BaseDigraphComponent >();
    34     checkConcept<BaseDigraphComponent, BaseDigraphComponent >();
    35 
    35 
    36     checkConcept<IDableDigraphComponent<>, 
    36     checkConcept<IDableDigraphComponent<>,
    37       IDableDigraphComponent<> >();
    37       IDableDigraphComponent<> >();
    38 
    38 
    39     checkConcept<IterableDigraphComponent<>, 
    39     checkConcept<IterableDigraphComponent<>,
    40       IterableDigraphComponent<> >();
    40       IterableDigraphComponent<> >();
    41 
    41 
    42     checkConcept<MappableDigraphComponent<>, 
    42     checkConcept<MappableDigraphComponent<>,
    43       MappableDigraphComponent<> >();
    43       MappableDigraphComponent<> >();
    44   }
    44   }
    45   { // Checking skeleton digraph
    45   { // Checking skeleton digraph
    46     checkConcept<Digraph, Digraph>();
    46     checkConcept<Digraph, Digraph>();
    47   }
    47   }