local p = require('Module:UnitTests')
function p:test_blank self:preprocess_equals('', '
')end
function p:test_teamsYears self:preprocess_equals('', '
Playing Years: | 1 2 3 |
Playing Teams: | A B C |
')end
function p:test_teamsYears_brSpaces self:preprocess_equals('', '
Playing Years: | 1 2 3 |
Playing Teams: | A B C |
')end
function p:test_teamsYears_allTheBrs self:preprocess_equals('', '
Playing Years: | 1 2 3 4 |
Playing Teams: | A B C D |
')end
function p:test_teamsYears_withSports self:preprocess_equals('', '
Playing Years: | Basketball 1 2 3 |
Playing Teams: | A B C |
')end
function p:test_teamsYears_withSports_multipleBrs self:preprocess_equals('', '
Playing Years: | Basketball 1 2 3 |
Playing Teams: | A B C |
')end
function p:test_teamsYears_unbalancedYears self:preprocess_equals('', '
Playing Years: | 1 2 3 |
Playing Teams: | A B C |
')end
function p:test_teamsYears_unbalancedTeams self:preprocess_equals('', '
Playing Years: | 1 2 3 |
Playing Teams: | A B C |
')end
function p:test_teamsYears_teamsBlank self:preprocess_equals('', '
Playing Years: | 1 2 3 |
')end
function p:test_teamsYears_yearsBlank self:preprocess_equals('', '
Playing Teams: | A B C |
')end
function p:test_genericDemo self:preprocess_equals([=[{{#invoke:Infobox gridiron football person/convert|main|name=Corey Chamblin
|full_name=
|team=Saskatchewan Roughriders
|image=
|ImageWidth=
|caption=
|status=
|position1=Head coach
|Height_ft=
|Height_in=
|Weight_lbs=
|birth_date={{birth date and age|1977|5|29}}
|birth_place=[[Birmingham, Alabama]] |college=Tennessee Tech |high_school= |coaching_years=
–
–present |coaching_teams=Frankfurt Galaxy (Ass. DBC)
Winnipeg Blue Bombers (DBC)
Calgary Stampeders (DBC)
Hamilton Tiger-Cats (DC/DBC)
Saskatchewan Roughriders (HC) |playing_years=*
–
*
*
*
* |playing_teams=Baltimore Ravens
Jacksonville Jaguars
Green Bay Packers
Tampa Bay Buccaneers
Denver Broncos
Rhein Fire
Indianapolis Colts|career_footnotes=
|Awards= |Honors= |Records= |NFL=CHA154467}}]=], [=[{{Infobox gridiron football person
|name=Corey Chamblin
|full_name=
|team=Saskatchewan Roughriders
|image=
|ImageWidth=
|caption=
|status=
|position1=Head coach
|Height_ft=
|Height_in=
|Weight_lbs=
|birth_date={{birth date and age|1977|5|29}}
|birth_place=[[Birmingham, Alabama]] |college=Tennessee Tech |high_school= |coaching_years=
–
–present |coaching_teams=Frankfurt Galaxy (Ass. DBC)
Winnipeg Blue Bombers (DBC)
Calgary Stampeders (DBC)
Hamilton Tiger-Cats (DC/DBC)
Saskatchewan Roughriders (HC) |playing_years=*
–
*
*
*
* |playing_teams=Baltimore Ravens
Jacksonville Jaguars
Green Bay Packers
Tampa Bay Buccaneers
Denver Broncos
Rhein Fire
Indianapolis Colts|career_footnotes=
|Awards= |Honors= |Records= |NFL=CHA154467}}]=])end
return p