&sectionHeader('Unit Tests');
@SOURCE = ();
@LINK = ();
$subtotal = &runTest('001', 'Connected');
$subtotal += &runTest('002', 'Not connected');
$subtotal += &runTest('003', 'Vertex is connected to itself');
$subtotal += &runTest('004', 'Distance, path is one edge');
$subtotal += &runTest('005', 'Distance, multiple paths');
$subtotal += &runTest('006', 'Distance, no path');
$subtotal += &runTest('007', 'Path from vertex to itself');
$subtotal += &runTest('008', 'One edge path');
$subtotal += &runTest('009', 'Two edge path');
$subtotal += &runTest('010', 'Path when multiple paths exist');
$subtotal += &runTest('011', 'Path when no path exists');
$total += floor($subtotal);
&sectionResults('Unit Tests', $subtotal);

&sectionHeader('Invalid Arguments');
@SOURCE = ();
@LINK = ();
$subtotal = &runTest('012', 'Connected, invalid v1');
$subtotal += &runTest('013', 'Connected, invalid v2');
$subtotal += &runTest('014', 'Distance, invalid v1');
$subtotal += &runTest('015', 'Distance, invalid v2');
$subtotal += &runTest('016', 'Path, invalid v1');
$subtotal += &runTest('017', 'Path, invalid v2');
$total += floor($subtotal);
&sectionResults('Invalid Arguments', $subtotal);

&sectionHeader('Greedy TSP');
@SOURCE = ();
@LINK = ();
$subtotal = &runTest('018', 'Example from class/specification');
$subtotal += &runTest('019', 'Valgrind on Example');
$total += floor($subtotal);
&sectionResults('Greedy TSP', $subtotal);

&sectionHeader('Valgrind on Unit Tests');
@SOURCE = ();
@LINK = ();
$subtotal = &runTest('020', 'Connected');
$subtotal += &runTest('021', 'Not connected');
$subtotal += &runTest('022', 'Vertex is connected to itself');
$subtotal += &runTest('023', 'Distance, path is one edge');
$subtotal += &runTest('024', 'Distance, multiple paths');
$subtotal += &runTest('025', 'Distance, no path');
$subtotal += &runTest('026', 'Path from vertex to itself');
$subtotal += &runTest('027', 'One edge path');
$subtotal += &runTest('028', 'Two edge path');
$subtotal += &runTest('029', 'Path when multiple paths exist');
$subtotal += &runTest('030', 'Path when no path exists');
$total += floor($subtotal);
&sectionResults('Valgrind on Unit Tests', $subtotal);

