-- Copyright 2003, Trustees of Indiana University -- Please see the license in the file ../LICENSE class TEST_ADJACENCY_LIST feature test: BOOLEAN is local g2: ADJACENCY_LIST output : OUTPUT_GRAPH[INTEGER, BASIC_EDGE, ADJACENCY_LIST] do create g2.make_n_vertices(5) g2.add_edge(0, 3) g2.add_edge(0, 4) g2.add_edge(4, 0) g2.add_edge(4, 4) io.put_string("Creating adjacency list : ") io.put_string("0->3, 0->4, 4->0, 4->4%N%N"); create output output.go(g2) io.put_string("%N") Result := true end end -- TEST_ADJACENCY_LIST