forked from 0ad/0ad
7 lines
182 B
JavaScript
7 lines
182 B
JavaScript
|
Engine.LoadComponentScript("Player.js");
|
||
|
|
||
|
var cmp = ConstructComponent(10, "Player");
|
||
|
|
||
|
TS_ASSERT_EQUALS(cmp.GetPopulationCount(), 0);
|
||
|
TS_ASSERT_EQUALS(cmp.GetPopulationLimit(), 50);
|