1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/simulation/components/tests/test_Player.js
Ykkrosh a901a2a207 Fix #566 (test failure)
This was SVN commit r8088.
2010-09-07 09:29:23 +00:00

7 lines
181 B
JavaScript

Engine.LoadComponentScript("Player.js");
var cmp = ConstructComponent(10, "Player");
TS_ASSERT_EQUALS(cmp.GetPopulationCount(), 0);
TS_ASSERT_EQUALS(cmp.GetPopulationLimit(), 0);