Changeset 427:c59bdcc8e33e in lemon1.0 for test/maps_test.cc
 Timestamp:
 08/05/11 00:17:29 (8 years ago)
 Branch:
 1.0
 Phase:
 public
 Tags:
 r1.0.7
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

test/maps_test.cc
r357 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 200320 085 * Copyright (C) 20032011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 70 70 checkConcept<ReadWriteMap<A,B>, ReadWriteMap<A,B> >(); 71 71 checkConcept<ReadWriteMap<A,C>, ReadWriteMap<A,C> >(); 72 checkConcept<ReferenceMap<A,B,B&,const B&>, ReferenceMap<A,B,B&,const B&> >(); 73 checkConcept<ReferenceMap<A,C,C&,const C&>, ReferenceMap<A,C,C&,const C&> >(); 72 checkConcept<ReferenceMap<A,B,B&,const B&>, 73 ReferenceMap<A,B,B&,const B&> >(); 74 checkConcept<ReferenceMap<A,C,C&,const C&>, 75 ReferenceMap<A,C,C&,const C&> >(); 74 76 75 77 // NullMap … … 200 202 201 203 checkConcept<ReadMap<A,B>, MapToFunctor<ReadMap<A,B> > >(); 202 MapToFunctor<ReadMap<A,B> > map = MapToFunctor<ReadMap<A,B> >(ReadMap<A,B>()); 204 MapToFunctor<ReadMap<A,B> > map = 205 MapToFunctor<ReadMap<A,B> >(ReadMap<A,B>()); 203 206 204 207 check(functorToMap(&func)[A()] == 3,
Note: See TracChangeset
for help on using the changeset viewer.