#begintest showpairings
#beginconfig
division a a.t
division b b.t
config max_rounds = 3
config colour = 'no'
config alpha_pair_page_break = 4
#endconfig
#beginifile a.t
Chew, John 1800   4 3 2; 400 400 400
Chew, Kristen 1300 3 4 1; 300 300 300
Chew, Jamie 500   2 1 4; 200 200 200
Chew, Liam 0      1 2 3; 100 100 100
#endifile
#beginifile b.t
Player, A 1000 2
Player, B 900 1
Player, C 800 4
Player, D 700 3
Player, E 600 6
Player, F 500 5
#endifile
#begincommands
sp 2 a
sp 5 a
sp 3 a
sp 1 b
q
#endcommands
#beginstdout
Division A Round 2 Pairings

Board Players
   1  Chew, John (A1) vs. Chew, Jamie (A3).
   2  Chew, Kristen (A2) vs. Chew, Liam (A4).
5 is too large to be a round number.
Usage: sp round division
Enter 'help' for help.
Division A Round 3 Pairings

Board Players
   1  Chew, John (A1) vs. Chew, Kristen (A2).
   2  Chew, Jamie (A3) vs. Chew, Liam (A4).
Division B Round 1 Pairings

Board Players
   1  Player, A (B1) vs. Player, B (B2).
   2  Player, C (B3) vs. Player, D (B4).
   3  Player, E (B5) vs. Player, F (B6).
#endstdout
#beginstderr
#endstderr
#beginofile html/A-alpha-pairings-002.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
	"http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><title>Division A Round 2 Alphabetic Pairings</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="tsh.css" type="text/css">
</head>
<body class="alpha-pairings">
<h1>Division A Round 2 Alphabetic Pairings</h1>
<table class="alpha_pairings" align=center cellspacing=0>
<tr><th class=board>Board</th><th class=name>Player</th><th></th><th class=name>Opponent</th></tr><tr style="page-break-inside:avoid"><td class=board>1</td><td>Chew, Jamie (A3)</td><td><span class=starts>vs.</span></td><td>Chew, John (A1)</td></tr><tr style="page-break-inside:avoid"><td class=board>1</td><td>Chew, John (A1)</td><td><span class=starts>vs.</span></td><td>Chew, Jamie (A3)</td></tr><tr style="page-break-inside:avoid"><td class=board>2</td><td>Chew, Kristen (A2)</td><td><span class=starts>vs.</span></td><td>Chew, Liam (A4)</td></tr><tr style="page-break-inside:avoid"><td class=board>2</td><td>Chew, Liam (A4)</td><td><span class=starts>vs.</span></td><td>Chew, Kristen (A2)</td></tr></table>
<p class=notice>This report was generated using <cite>tsh</cite> version 3.190.  For more information about <cite>tsh</cite>, please ask John Chew.</p></body></html>
#endofile
#beginofile html/B-alpha-pairings-001.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
	"http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><title>Division B Round 1 Alphabetic Pairings</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="tsh.css" type="text/css">
</head>
<body class="alpha-pairings">
<h1>Division B Round 1 Alphabetic Pairings</h1>
<table class="alpha_pairings" align=center cellspacing=0>
<tr><th class=board>Board</th><th class=name>Player</th><th></th><th class=name>Opponent</th><th class=board>Board</th><th class=name>Player</th><th></th><th class=name>Opponent</th></tr><tr class=double style="page-break-inside:avoid"><td class=board>1</td><td>Player, A (B1)</td><td><span class=starts>vs.</span></td><td style="border-right:1px solid black">Player, B (B2)</td><td class=board>2</td><td>Player, D (B4)</td><td><span class=starts>vs.</span></td><td>Player, C (B3)</td></tr><tr class=double style="page-break-inside:avoid"><td class=board>1</td><td>Player, B (B2)</td><td><span class=starts>vs.</span></td><td style="border-right:1px solid black">Player, A (B1)</td><td class=board>3</td><td>Player, E (B5)</td><td><span class=starts>vs.</span></td><td>Player, F (B6)</td></tr><tr class=double style="page-break-inside:avoid"><td class=board>2</td><td>Player, C (B3)</td><td><span class=starts>vs.</span></td><td style="border-right:1px solid black">Player, D (B4)</td><td class=board>3</td><td>Player, F (B6)</td><td><span class=starts>vs.</span></td><td>Player, E (B5)</td></tr></table>
<p class=notice>This report was generated using <cite>tsh</cite> version 3.190.  For more information about <cite>tsh</cite>, please ask John Chew.</p></body></html>
#endofile
#endtest
