Skip to content

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

35 lines (30 sloc) 0.899 kb
/** @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);
}
}
}
Jump to Line
Something went wrong with that request. Please try again.