#begintest roto
#beginconfig
division a a.t
config colour = 'no'
config max_rounds = 3
config rotofile = 'roto.txt'
#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 0; 200 200 50
Chew, Liam 0      1 2 0; 100 100 -50
#endifile
#beginifile roto.txt
owner Owner 1
player Chew, John
player Chew, Kristen

owner Owner 2
player Chew, John
player Chew, Jamie

owner Owner 3
player Chew, Liam
player Chew, Jamie

owner Owner 4
player Chew, Liam
player Foo
#endifile
#begincommands
roto 3
q
#endcommands
#beginstdout
#endstdout
#beginstderr
Error: Team 4 has an unknown player: Foo. [erotounp]
#endstderr
#endtest
#begintest roto 2
#beginconfig
division a a.t
config colour = 'no'
config max_rounds = 3
config rotofile = 'roto.txt'
#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 0; 200 200 50
Chew, Liam 0      1 2 0; 100 100 -50
#endifile
#beginifile roto.txt
owner Owner 1
player Chew, John
player Chew, Kristen

owner Owner 2
player Chew, John
player Chew, Jamie

owner Owner 3
player Chew, Liam
player Chew, Jamie

#endifile
#begincommands
roto 2
roto 3
q
#endcommands
#beginstdout
Round 2 Roto

 W   Sprd Owner                                             Team
 4   +800 Owner 1                      2A001  2A002
 2   +200 Owner 2                      2A001  0A003
 0   -800 Owner 3                      0A004  0A003
Round 3 Roto

 W   Sprd Owner                                             Team
 5   +800 Owner 1                      3A001  2A002
 4   +350 Owner 2                      3A001  1A003
 1   -800 Owner 3                      0A004  1A003
#endstdout
#beginstderr
#endstderr
#endtest
