#begintest koth
#beginconfig
division a a.t
config max_rounds = 4
config colour = 'no'
#endconfig
#beginifile a.t
Chew, John 1800    
Chew, Kristen 1300 
Chew, Jamie 500    
Chew, Liam 0       
#endifile
#begincommands
debug GRT 1
koth 0 0 a
debug GRT 0
koth 0 0 a
koth 0 0 a
sp 3 a
koth 0 0 a
koth 1 0 a
koth 1 0 a
q
#endcommands
#beginstdout
Debug: [GRT] pref 1-2 rep=0 prev=0 svr=0 dist=1
Debug: [GRT] pref 1-3 rep=0 prev=0 svr=0 dist=2
Debug: [GRT] pref 1-4 rep=0 prev=0 svr=0 dist=3
Debug: [GRT] pref 1: 2,3,4
Debug: [GRT] pref 2-1 rep=0 prev=0 svr=0 dist=1
Debug: [GRT] pref 2-3 rep=0 prev=0 svr=0 dist=1
Debug: [GRT] pref 2-4 rep=0 prev=0 svr=0 dist=2
Debug: [GRT] pref 2: 1,3,4
Debug: [GRT] pref 3-1 rep=0 prev=0 svr=0 dist=2
Debug: [GRT] pref 3-2 rep=0 prev=0 svr=0 dist=1
Debug: [GRT] pref 3-4 rep=0 prev=0 svr=0 dist=1
Debug: [GRT] pref 3: 2,4,1
Debug: [GRT] pref 4-1 rep=0 prev=0 svr=0 dist=3
Debug: [GRT] pref 4-2 rep=0 prev=0 svr=0 dist=2
Debug: [GRT] pref 4-3 rep=0 prev=0 svr=0 dist=1
Debug: [GRT] pref 4: 3,2,1
Debug: [GRT] Pairings:
Debug: [GRT] ... Chew, John (#1) vs Chew, Kristen (#2).
Debug: [GRT] ... Chew, Jamie (#3) vs Chew, Liam (#4).
Round 3 Pairings

Board Players
   1  Chew, John (#1) vs. Chew, Liam (#4).
   2  Chew, Kristen (#2) vs. Chew, Jamie (#3).
#endstdout
#beginstderr
Error: Pairings failed. [epfail]
Error: You cannot compute pairings for Round 5 because config max_rounds = 4. [ebigrd]
#endstderr
#endtest
