Guest User

Untitled

a guest
Sep 1st, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. describe "World", ->
  3.  
  4.   world = null
  5.  
  6.   describe "Instantiation", ->
  7.  
  8.     before () ->
  9.       world = new Bragi.World()
  10.  
  11.     it "should have an Entity Manager", ->
  12.       world.entityManager.should.be.an.instanceof Bragi.EntityManager
  13.     it "should have an System Manager", ->
  14.       world.systemManager.should.be.an.instanceof Bragi.SystemManager
  15.     it "should have an Tag Manager", ->
  16.       world.tagManager.should.be.an.instanceof Bragi.TagManager
  17.     it "should have an empty array called deleted", ->
  18.       world.deleted.should.be.an.instanceof(Array)
  19.       world.deleted.should.be.empty
Add Comment
Please, Sign In to add comment