|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--karel.tests.WorldTest
Field Summary | |
protected int |
fAvenues
|
protected int |
fStreets
|
protected World |
fWorld
|
Constructor Summary | |
WorldTest(java.lang.String name)
|
Method Summary | |
protected void |
initForEquals(World w)
|
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testBeepers()
|
void |
testBounds()
|
void |
testComments()
|
void |
testEquals()
|
void |
testEWWall()
|
void |
testNSWall()
|
void |
testParser()
|
void |
testSerialization()
|
void |
testWalls()
Make sure there are walls to the east and north of the world. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected World fWorld
protected int fAvenues
protected int fStreets
Constructor Detail |
public WorldTest(java.lang.String name)
Method Detail |
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
protected void setUp()
setUp
in class junit.framework.TestCase
public void testBounds()
public void testBeepers()
public void testWalls()
public void testEWWall()
public void testNSWall()
protected void initForEquals(World w)
public void testEquals()
public void testSerialization()
public void testParser()
public void testComments()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |