Star Trek Wrath of Gems Wikia
Advertisement

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,["tier"] = 2,} <<< encodes to: >>>{"1":"key","2":"image","3":"name","tier":2}<<< and decodes to: >>>{ ["1"] = key,["tier"] = 2,["3"] = name,["2"] = image,} <<<


>>>["key","image","name","tier"]<<< decodes to: >>>{ [1] = key,[2] = image,[3] = name,[4] = tier,} <<<


>>>{ [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,["tier"] = 2,} <<< encodes to: >>>{"1":"key","2":"image","3":"name","tier":2}<<< and decodes to: >>>{ ["1"] = key,["tier"] = 2,["3"] = name,["2"] = image,} <<<


>>>["key","image","name","tier"]<<< decodes to: >>>{ [1] = key,[2] = image,[3] = name,[4] = tier,} <<<


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. Red

UpgradeCostDescription
16Does 63 damage to the selected enemy. Changes 3 random gems to yellow.
26Does 95 damage to the selected enemy. Changes 4 random gems to yellow.
36Does 126 damage to the selected enemy. Changes 4 random gems to yellow.
46Does 151 damage to the selected enemy. Changes 5 random gems to yellow.
56Does 168 damage to the selected enemy. Changes 5 random gems to yellow.


Skill Number 2 is called Commander's Orders.

Its color is Yellow. Yellow

UpgradeCostDescription
19Does 125 damage to the selected enemy. Changes 5 random gems to blue.
29Does 170 damage to the selected enemy. Changes 6 random gems to blue.
39Does 205 damage to the selected enemy. Changes 6 random gems to blue.
49Does 255 damage to the selected enemy. Changes 7 random gems to blue.
59Does 303 damage to the selected enemy. Changes 7 random gems to blue.


Skill Number 3 is called Starfleet Deployed.

Its color is Blue. Blue

UpgradeCostDescription
115Does 125 damage to the selected enemy and 75 to his allies.
215Does 170 damage to the selected enemy and 95 to his allies.
315Does 230 damage to the selected enemy and 118 to his allies.
415Does 295 damage to the selected enemy and 143 to his allies.
515Does 345 damage to the selected enemy and 195 to his allies.



Advertisement