Plato on Github
Report Home
test/spec/gameobject.js
Maintainability
146.73
Lines of code
18
Difficulty
7.00
Estimated Errors
0.10
Function weight
By Complexity
By SLOC
define('spec/gameobject', ['lyria/gameobject'], function(GameObject) { describe('lyria/gameobject', function() { var gameobject = new GameObject(); it('is a function', function() { expect(GameObject).to.be.a('function'); }); it('can be instantiated', function() { expect(gameobject).to.be.a('object'); expect(gameobject).to.be.an.instanceOf(GameObject); }); }); });