public class JTurtleTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private JTurtle |
t |
private WorkspaceContext |
workspace |
Constructor and Description |
---|
JTurtleTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testBack()
Test method for BACK command
|
void |
testForward()
Test method for FORWARD command
|
void |
testHeading()
Test method for HEADING command
|
void |
testHome()
Test method for HOME command
|
void |
testLeft()
Test method for LEFT command
|
void |
testPenDown()
Test for the PENDOWN command
|
void |
testPenDownP()
Test for the PENDOWNP command
|
void |
testPenUp()
Test for PENUP command
|
void |
testRight()
Test method for RIGHT command
|
void |
testSetX()
Test method for SETX command
|
void |
testSetXY()
Test for the SETXY command
|
void |
testSetY()
Test method for SETY command
|
void |
testTowards()
Test for the TOWARDS command
|
void |
testTurtle()
Test method for turtle init
|
void |
testXcor()
Test method for XCOR command
|
void |
testYcor()
Test method for YCOR command
|
private JTurtle t
private WorkspaceContext workspace
public void setUp() throws java.lang.Exception
java.lang.Exception
public void tearDown() throws java.lang.Exception
java.lang.Exception
public void testTurtle()
public void testHeading()
public void testForward()
public void testBack()
public void testRight()
public void testLeft()
public void testHome()
public void testXcor()
public void testYcor()
public void testSetX()
public void testSetY()
public void testSetXY()
public void testTowards()
public void testPenDownP()
public void testPenDown()
public void testPenUp()