Example #1
0
 it("should return false if cleared", () => {
     let status = new Status();
     status.dead();
     assert.ok(status.isDead());
     status.clear(STATUS_VALUES.DEAD);
     assert.ok(!status.isDead());
 });
Example #2
0
 it("should return true if dead is called", () => {
     let status = new Status();
     status.dead()
     assert.ok(status.isDead());
 });