&sectionHeader('Basic Execution');
@SOURCE = ();
@LINK = ();
$subtotal = &runTest('001', 'One trackpoint');
$subtotal += &runTest('002', 'Two trackpoints');
$subtotal += &runTest('003', 'Poorly formatted');
$subtotal += &runTest('004', 'Many trackpoints');
$subtotal += &runTest('005', 'With Header');
$subtotal += &runTest('006', 'Single quotes around attributes');
$subtotal += &runTest('007', 'time element in header');
$subtotal += &runTest('008', 'Other attributes for trkpt');
$subtotal += &runTest('009', 'Attributes for ele');
$subtotal += &runTest('010', 'Other elements in trkpt');
$total += floor($subtotal);
&sectionResults('Basic Execution', $subtotal);

&sectionHeader('Quotes');
@SOURCE = ();
@LINK = ();
$subtotal = &runTest('011', 'Single inside double');
$total += floor($subtotal);
&sectionResults('Quotes', $subtotal);

&sectionHeader('Upper/lower/mixed case');
@SOURCE = ();
@LINK = ();
$subtotal = &runTest('012', 'Upper case for element types');
$subtotal += &runTest('013', 'Mixed case for element types');
$subtotal += &runTest('014', 'Mismatched cases in start/end tags');
$total += floor($subtotal);
&sectionResults('Upper/lower/mixed case', $subtotal);

&sectionHeader('Whitespace');
@SOURCE = ();
@LINK = ();
$subtotal = &runTest('015', 'Single space after lat, before =');
$subtotal += &runTest('016', 'Single space after lat, after =');
$subtotal += &runTest('017', 'Single space after other attributes, before =');
$subtotal += &runTest('018', 'Single before end of tag');
$subtotal += &runTest('019', 'Multiple after lat, before =');
$total += floor($subtotal);
&sectionResults('Whitespace', $subtotal);

&sectionHeader('Commas');
@SOURCE = ();
@LINK = ();
$subtotal = &runTest('020', 'Comma in time text');
$subtotal += &runTest('021', 'Comma in ele text');
$subtotal += &runTest('022', 'Comma in trkpt attribute');
$subtotal += &runTest('023', 'Comma in time element not in trkpt');
$total += floor($subtotal);
&sectionResults('Commas', $subtotal);

&sectionHeader('Long tokens');
@SOURCE = ();
@LINK = ();
$subtotal = &runTest('024', 'Long element type');
$subtotal += &runTest('025', 'Long attribute name');
$subtotal += &runTest('026', 'Long attribute value');
$total += floor($subtotal);
&sectionResults('Long tokens', $subtotal);

&sectionHeader('Invalid Input');
@SOURCE = ();
@LINK = ();
$subtotal = &runTest('027', 'Missing end');
$subtotal += &runTest('028', 'Badly nested tags');
$subtotal += &runTest('029', 'Whitespace after tag start');
$subtotal += &runTest('030', 'Whitespace after /');
$subtotal += &runTest('031', 'Missing attribute equals');
$subtotal += &runTest('032', 'Missing attribute value');
$subtotal += &runTest('033', 'Missing attribute quotes');
$subtotal += &runTest('034', 'Quotes in text');
$subtotal += &runTest('035', 'EOF in element type');
$subtotal += &runTest('036', 'EOF in latitude');
$total += floor($subtotal);
&sectionResults('Invalid Input', $subtotal);

