Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0bbea35660
Fetching contributors…

Cannot retrieve contributors at this time

file 35 lines (30 sloc) 0.899 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
/** @author: Simon Bailey <simon@newtriks.com> */
package
{
    import asunit.asserts.*;

    import flash.display.Sprite;

    public class AS3ModularRobotLegsExampleTest
    {
        [Inject]
        public var context:Sprite;
        private var as3ModularRobotLegsExample:AS3ModularRobotLegsExample;

        [Before]
        public function setUp():void
        {
            as3ModularRobotLegsExample=new AS3ModularRobotLegsExample();
            context.addChild(as3ModularRobotLegsExample);
        }

        [After]
        public function tearDown():void
        {
            context.removeChild(as3ModularRobotLegsExample);
            as3ModularRobotLegsExample=null;
            context=null;
        }

        [Test]
        public function should_be_instantiated():void
        {
            assertTrue(as3ModularRobotLegsExample is AS3ModularRobotLegsExample);
        }
    }
}
Something went wrong with that request. Please try again.