test/graph_test.cc added.
It discovered several bugs and warnings in 'include/smart_graph.h',
in 'include/skeletons/graph.h' and in 'work/alpar/list_graph.h'.
They have also been fixed.
1 INCLUDEDIRS ?= -I../include
2 CXXFLAGS += -W -Wall -O3 -ansi -pedantic $(INCLUDEDIRS)
3 #LEDAROOT ?= /ledasrc/LEDA-4.1
5 BINARIES = dijkstra_heap_test unionfind_test error_test
10 CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
18 $(CXX) $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend
24 $(RM) *.o $(BINARIES) .depend
26 .PHONY: all clean dep depend