-- copied from hfelton-wikia
-- Unit tests for [[Module:Bananas]]. Click talk page to run tests.
local p = require('Dev:UnitTests')
function p:test_numberOfHeroes()
    -- based upon current stripped-down version
    self:preprocess_equals('{{#invoke:HeroTable | numberOfHeroes}}', '10')
local SLISTDATA = {
	'\*\[\[Aira the Ice Mage\]\]\n',
	'\*\[\[Akayuki the Samurai\]\]\n',
	'\*\[\[Witch\'s Knight\]\]\n',
	'\*\[\[Wood Fairy\]\]\n',
	'\*\[\[Banana Guard\]\]\n',
	'\*\[\[Tree Trunks\]\]\n',
	'\*\[\[Wildberry Princess\]\]\n',
function p:test_simpleList()
    -- based upon current stripped-down version
    self:equals_deep('Compare Resulting-Tables', '{{#invoke:HeroTable | simpleList}}', SLISTDATA, {nowiki=1})
return p

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.