|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dolben.MarkN.GeneratorTest
public abstract class GeneratorTest
This tests an N digit number game guess generator. Override the newGenerator factory method in a derived class.
Constructor Summary | |
---|---|
GeneratorTest()
constructs a GeneratorTest |
Method Summary | |
---|---|
abstract Generator |
newGenerator()
makes a new Generator |
void |
test()
trys guessing all valid targets and prints how many targets required a number of guesses, the distribution |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneratorTest()
Method Detail |
---|
public abstract Generator newGenerator()
public void test() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |