Jump to content

Template:Ice hockey box/testcases

From Wikipedia, the free encyclopedia

Test cases using the Test_case template

[edit]

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 Ice hockey box as well as Ice hockey box/sandbox.


Test_case 0: Reasonable Data

[edit]

{{Ice hockey box}}

February 15, 2006 (2006-02-15)
13:05
Italy 2 – 7
(0–1, 2–5, 0–1)
 CanadaPalasport Olimpico
Attendance: 8575
Game reference
Jason MuzzattiGoaliesMartin BrodeurReferee:
Thomas Andersson (Sweden)
0 – 15:33 – Iginla (Bertuzzi, Sakic)
Cirone (Scandella) (PP) – 20:431 – 1
1 – 221:55 – Heatley (St. Louis, Lecavalier)
1 – 325:38 – Doan (Pronger, Richards)
1 – 426:04 – Iginla (Sakic) (PP)
1 – 533:53 – St. Louis (Heatley, Lecavalier)
1 – 634:38 – Richards (Doan, Bertuzzi)
Parco (Tuzzolino) – 38:082 – 6
2 – 743:39 – Thornton (Gagné) (PP)
20 minPenalties12 min
20Shots50

{{Ice hockey box/sandbox}}

February 15, 2006 (2006-02-15)
13:05
Italy 2 – 7
(0–1, 2–5, 0–1)
 CanadaPalasport Olimpico
Attendance: 8575
Game reference
Jason MuzzattiGoaliesMartin BrodeurReferee:
Thomas Andersson (Sweden)
0 – 15:33 – Iginla (Bertuzzi, Sakic)
Cirone (Scandella) (PP) – 20:431 – 1
1 – 221:55 – Heatley (St. Louis, Lecavalier)
1 – 325:38 – Doan (Pronger, Richards)
1 – 426:04 – Iginla (Sakic) (PP)
1 – 533:53 – St. Louis (Heatley, Lecavalier)
1 – 634:38 – Richards (Doan, Bertuzzi)
Parco (Tuzzolino) – 38:082 – 6
2 – 743:39 – Thornton (Gagné) (PP)
20 minPenalties12 min
20Shots50


Test_case 1: Missing Data

[edit]

{{Ice hockey box}}

Error: Goals/Progression mismatch: N1 = 7 N2 = 0 PN = 9

February 15, 2006 (2006-02-15)
13:05
Italy 2 – 7
(0–1, 2–5, 0–1)
 CanadaPalasport Olimpico
Attendance: 8575
Game reference
Jason MuzzattiGoaliesMartin BrodeurReferee:
Thomas Andersson (Sweden)
0 – 1
1 – 1
1 – 2
1 – 3
1 – 4
1 – 5
1 – 6
2 – 6
2 – 7
20 minPenalties12 min
20Shots50

{{Ice hockey box/sandbox}}

Error: Goals/Progression mismatch: N1 = 7 N2 = 0 PN = 9

February 15, 2006 (2006-02-15)
13:05
Italy 2 – 7
(0–1, 2–5, 0–1)
 CanadaPalasport Olimpico
Attendance: 8575
Game reference
Jason MuzzattiGoaliesMartin BrodeurReferee:
Thomas Andersson (Sweden)
0 – 1
1 – 1
1 – 2
1 – 3
1 – 4
1 – 5
1 – 6
2 – 6
2 – 7
20 minPenalties12 min
20Shots50


Test cases created manually

[edit]

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

Manual Tests

[edit]

Main template

[edit]
February 15, 2006 (2006-02-15)
13:05
Italy 2 – 7
(0–1, 2–5, 0–1)
 CanadaPalasport Olimpico
Attendance: 8575
Game reference
Jason MuzzattiGoaliesMartin BrodeurReferee:
Thomas Andersson (Sweden)
0 – 15:33 – Iginla (Bertuzzi, Sakic)
Cirone (Scandella) (PP) – 20:431 – 1
1 – 221:55 – Heatley (St. Louis, Lecavalier)
1 – 325:38 – Doan (Pronger, Richards)
1 – 426:04 – Iginla (Sakic) (PP)
1 – 533:53 – St. Louis (Heatley, Lecavalier)
1 – 634:38 – Richards (Doan, Bertuzzi)
Parco (Tuzzolino) – 38:082 – 6
2 – 743:39 – Thornton (Gagné) (PP)
20 minPenalties12 min
20Shots50

Sandbox template

[edit]
February 15, 2006 (2006-02-15)
13:05
Italy 2 – 7
(0–1, 2–5, 0–1)
 CanadaPalasport Olimpico
Attendance: 8575
Game reference
Jason MuzzattiGoaliesMartin BrodeurReferee:
Thomas Andersson (Sweden)
0 – 15:33 – Iginla (Bertuzzi, Sakic)
Cirone (Scandella) (PP) – 20:431 – 1
1 – 221:55 – Heatley (St. Louis, Lecavalier)
1 – 325:38 – Doan (Pronger, Richards)
1 – 426:04 – Iginla (Sakic) (PP)
1 – 533:53 – St. Louis (Heatley, Lecavalier)
1 – 634:38 – Richards (Doan, Bertuzzi)
Parco (Tuzzolino) – 38:082 – 6
2 – 743:39 – Thornton (Gagné) (PP)
20 minPenalties12 min
20Shots50