src/test/sym_graph_test.h
changeset 1143 4fb22cfa5759
parent 986 e997802b855c
child 1164 80bb73097736
equal deleted inserted replaced
4:32dcb1649f56 5:d3e304127086
    93     
    93     
    94 	m=cm;  
    94 	m=cm;  
    95 	dm=cm; //Copy from another type
    95 	dm=cm; //Copy from another type
    96 	{
    96 	{
    97 	  //Check the typedef's
    97 	  //Check the typedef's
    98 	  typename Graph::template SymEdgeMap<int>::ValueType val;
    98 	  typename Graph::template SymEdgeMap<int>::Value val;
    99 	  val = 1;
    99 	  val = 1;
   100 	  typename Graph::template SymEdgeMap<int>::KeyType key;
   100 	  typename Graph::template SymEdgeMap<int>::Key key;
   101 	  key = typename Graph::SymEdgeIt(G);
   101 	  key = typename Graph::SymEdgeIt(G);
   102 	}
   102 	}
   103       }  
   103       }  
   104       { //bool SymEdgeMap
   104       { //bool SymEdgeMap
   105 	SymEdge k;
   105 	SymEdge k;
   116 	m=cm;  
   116 	m=cm;  
   117 	dm=cm; //Copy from another type
   117 	dm=cm; //Copy from another type
   118 	m=dm; //Copy to another type
   118 	m=dm; //Copy to another type
   119 	{
   119 	{
   120 	  //Check the typedef's
   120 	  //Check the typedef's
   121 	  typename Graph::template SymEdgeMap<bool>::ValueType val;
   121 	  typename Graph::template SymEdgeMap<bool>::Value val;
   122 	  val=true;
   122 	  val=true;
   123 	  typename Graph::template SymEdgeMap<bool>::KeyType key;
   123 	  typename Graph::template SymEdgeMap<bool>::Key key;
   124 	  key= typename Graph::SymEdgeIt(G);
   124 	  key= typename Graph::SymEdgeIt(G);
   125 	}
   125 	}
   126       }
   126       }
   127     }
   127     }
   128 
   128