Template:Ice hockey box/testcases
Jump to navigation
Jump to search
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 13:05 | Italy | 2 – 7 (0–1, 2–5, 0–1) | Canada | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |
February 15, 2006 13:05 | Italy | 2 – 7 (0–1, 2–5, 0–1) | Canada | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |
Test_case 1: Missing Data
[edit]{{Ice hockey box}}
February 15, 2006 13:05 | Italy | 2 – 7 (0–1, 2–5, 0–1) | Canada | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |
February 15, 2006 13:05 | Italy | 2 – 7 (0–1, 2–5, 0–1) | Canada | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |
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 13:05 | Italy | 2 – 7 (0–1, 2–5, 0–1) | Canada | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |
Sandbox template
[edit]February 15, 2006 13:05 | Italy | 2 – 7 (0–1, 2–5, 0–1) | Canada | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |