first cut[]
Test Cases Invoke page[]
1 tests failed.
test_categories:
Text | Expected | Actual | |
---|---|---|---|
✔ | {{#invoke:CharacterLists|main| categories |print|one|CK }} | print out the categories...
for one hero... named >CK< ... { [1] = Yellow,[2] = Blue,[3] = Tier 1,[4] = TOS,[5] = Red,} |
print out the categories...
for one hero... named >CK< ... { [1] = Yellow,[2] = Blue,[3] = Tier 1,[4] = TOS,[5] = Red,} |
✔ | {{#invoke:CharacterLists|main| categories |print|one|AM }} | print out the categories...
for one hero... named >AM< ... { [1] = Yellow,[2] = Purple,[3] = Tier 2,[4] = TNG,[5] = Red,} |
print out the categories...
for one hero... named >AM< ... { [1] = Yellow,[2] = Purple,[3] = Tier 2,[4] = TNG,[5] = Red,} |
✔ | {{#invoke:CharacterLists|main| categories |print|one|AH }} | print out the categories...
for one hero... named >AH< ... { [1] = Yellow,[2] = Red,[3] = Tier 2,[4] = TOS,[5] = White,} |
print out the categories...
for one hero... named >AH< ... { [1] = Yellow,[2] = Red,[3] = Tier 2,[4] = TOS,[5] = White,} |
test_helloJSON:
Text | Expected | Actual | |
---|---|---|---|
✔ | {{#invoke:CharacterLists | main | testJSON }} | >>>{ [1] = key,[2] = image,[3] = name,} <<< encodes to: >>>["key","image","name"]<<< and decodes to: >>>{ [1] = key,[2] = image,[3] = name,} <<<
|
>>>{ [1] = key,[2] = image,[3] = name,} <<< encodes to: >>>["key","image","name"]<<< and decodes to: >>>{ [1] = key,[2] = image,[3] = name,} <<<
|
test_skills:
Text | Expected | Actual | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✔ | {{#invoke:CharacterLists|main| testSkills |CK }} | { [1] = { ["color"] = Red,["skill"] = Shot Maneuver,["cost"] = 6,} ,[2] = { ["color"] = Yellow,["skill"] = Commander's Orders,["cost"] = 9,} ,[3] = { ["color"] = Blue,["skill"] = Starfleet Deployed,["cost"] = 15,} ,} | { [1] = { ["color"] = Red,["skill"] = Shot Maneuver,["cost"] = 6,} ,[2] = { ["color"] = Yellow,["skill"] = Commander's Orders,["cost"] = 9,} ,[3] = { ["color"] = Blue,["skill"] = Starfleet Deployed,["cost"] = 15,} ,} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
✘ | {{#invoke:CharacterLists|main| skills |CK }} | Skill Number 1 is called Shot Maneuver.
Its color is Red. Red-gem+html-table Skill Number 2 is called Commander's Orders. Its color is Yellow. Yellow-gem+html-table Skill Number 3 is called Starfleet Deployed. Its color is Blue. Blue-gem+html-table
|
Skill Number 1 is called Shot Maneuver.
Its color is Red.
Skill Number 2 is called Commander's Orders.
Its color is Yellow.
Skill Number 3 is called Starfleet Deployed.
Its color is Blue.
|