Template:Basketballbox/testcases

From WikiProjectMed
Jump to navigation Jump to search


Test cases using the Test_case template

This section uses the Template:Test_case to stage the test cases in an effort to eliminate potential for error in test creation (e.g., typos between main & sandbox, missed parameters, etc).

The Test_case template will automatically display both the Main template for Basketballbox as well as Basketballbox/sandbox.

Test_case 0: no bg

{{Basketballbox}}
April 27
2:00 pm
Brooklyn Nets 134–142 (3OT) Chicago Bulls
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Deron Williams 2
Rebs: Reggie Evans 13
Asts: Deron Williams 10
Pts: Nate Robinson 34
Rebs: Joakim Noah 100
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis
{{Basketballbox/sandbox}}
April 27
2:00 pm
134–142 (3OT)
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Nate Robinson 34
Rebs: Joakim Noah 100
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis

Test_case 1: reasonable data w/ bg

{{Basketballbox}}
April 27
2:00 pm
Brooklyn Nets 134–142 (3OT) Chicago Bulls
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Deron Williams 2
Rebs: Reggie Evans 13
Asts: Deron Williams 10
Pts: Nate Robinson 34
Rebs: Joakim Noah 100
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis
{{Basketballbox/sandbox}}
April 27
2:00 pm
134–142 (3OT)
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Nate Robinson 34
Rebs: Joakim Noah 100
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis

Test_case 2: reasonable data w/ bg (no wikitable class)

{{Basketballbox}}

April 27
2:00 pm
Brooklyn Nets 134–142 (3OT) Chicago Bulls
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Deron Williams 2
Rebs: Reggie Evans 13
Asts: Deron Williams 10
Pts: Nate Robinson 34
Rebs: Joakim Noah 100
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis

{{Basketballbox/sandbox}}

April 27
2:00 pm
134–142 (3OT)
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Nate Robinson 34
Rebs: Joakim Noah 100
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis

Test_case 3: reasonable data w/ bg (default test_case format)

{{Basketballbox}}

April 27
2:00 pm
Brooklyn Nets 134–142 (3OT) Chicago Bulls
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Deron Williams 2
Rebs: Reggie Evans 13
Asts: Deron Williams 10
Pts: Nate Robinson 34
Rebs: Joakim Noah 100
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis

{{Basketballbox/sandbox}}

April 27
2:00 pm
134–142 (3OT)
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Nate Robinson 34
Rebs: Joakim Noah 100
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis


Test_case 4: reasonable data w/ bg (test_case _format=columns)

Using column formatting to simulate narrow bounding box
{{Basketballbox}}{{Basketballbox/sandbox}}
April 27
2:00 pm
Brooklyn Nets 134–142 (3OT) Chicago Bulls
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Deron Williams 2
Rebs: Reggie Evans 13
Asts: Deron Williams 10
Pts: Nate Robinson 34
Rebs: Joakim Noah 100
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis
April 27
2:00 pm
134–142 (3OT)
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Nate Robinson 34
Rebs: Joakim Noah 100
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis

Test cases created manually

This section has test cases created by-hand (without the use of the Test_case template).

Manual Tests

Test 1: Original testcase

Main:

April 27
2:00 pm
Brooklyn Nets 134–142 (3OT) Chicago Bulls
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Deron Williams 32
Rebs: Reggie Evans 13
Asts: Deron Williams 10
Pts: Nate Robinson 34
Rebs: Joakim Noah 13
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis

Sandbox:

April 27
2:00 pm
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Nate Robinson 34
Rebs: Joakim Noah 13
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis

Test 1: Original testcase w/ bg specified but empty

Main:

April 27
2:00 pm
Brooklyn Nets 134–142 (3OT) Chicago Bulls
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Deron Williams 32
Rebs: Reggie Evans 13
Asts: Deron Williams 10
Pts: Nate Robinson 34
Rebs: Joakim Noah 13
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis

Sandbox:

April 27
2:00 pm
Scoring by quarter: 26–25, 29–33, 29–18, 27–35
Pts: Nate Robinson 34
Rebs: Joakim Noah 13
Asts: Kirk Hinrich 14
United Center, Chicago, Illinois
Attendance: 21,758
Referees: Tony Brothers, Ron Garretson, Eric Lewis