7 lines
181 B
JavaScript
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);
|