Sha256: 8ce8d9467b343d5724787a540dd156f3adc5a5144012936d87775d64b753ba4a
Contents?: true
Size: 464 Bytes
Versions: 2
Compression:
Stored size: 464 Bytes
Contents
module('level', { setup:function(){ //take existing level e = re('level1.tmx')[0]; } }); test('build level', function(){ e.build(); //some simple smoke tests ok(re('hero').length != 0); ok(re('tile').length != 0); ok(re('item').length != 0); //should probably write better tests }); test('teardown level', function(){ //does nothing in code e.teardown(); //todo write tests... //ok(re('hero').length == 0) });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
entityjs-0.3.1 | templates/platform/tests/util/level_test.js |
entityjs-0.3.0 | templates/platform/tests/util/level_test.js |