cz.cuni.jagrlib.eval
Class Ex2005_01_a

java.lang.Object
  extended by cz.cuni.jagrlib.eval.DefaultPlugin
      extended by cz.cuni.jagrlib.eval.Ex2005_01_a
All Implemented Interfaces:
EvalPlugin

public class Ex2005_01_a
extends DefaultPlugin

Evaluation plugin for MainEval: exercise 01, simple picture generation.

Since:
0.24
See Also:
MainEval, Ex2005_01_a.java

Field Summary
protected static java.lang.String INT
          Use integer coordinates?
protected static java.lang.String REPEAT
          Number of items to draw.
protected static java.lang.String SEED1
          Random seed (for RandomJames).
protected static java.lang.String SEED2
           
 
Fields inherited from class cz.cuni.jagrlib.eval.DefaultPlugin
HTML
 
Fields inherited from interface cz.cuni.jagrlib.eval.EvalPlugin
BASE, CLASS_NAME, OUTPUT_FILE_NAME
 
Constructor Summary
Ex2005_01_a()
           
 
Method Summary
 boolean runTest(java.util.Map<java.lang.String,java.lang.String> env, java.util.Map<java.lang.String,java.lang.String> param, java.io.PrintStream out)
          Runs one instance of the test (simple variant, w/o global result storage).
 
Methods inherited from class cz.cuni.jagrlib.eval.DefaultPlugin
booleanParam, createResults, doubleParam, integerParam, interpretResults, runTest, stringParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPEAT

protected static final java.lang.String REPEAT
Number of items to draw.

See Also:
Constant Field Values

SEED1

protected static final java.lang.String SEED1
Random seed (for RandomJames).

See Also:
Constant Field Values

SEED2

protected static final java.lang.String SEED2
See Also:
Constant Field Values

INT

protected static final java.lang.String INT
Use integer coordinates?

See Also:
Constant Field Values
Constructor Detail

Ex2005_01_a

public Ex2005_01_a()
Method Detail

runTest

public boolean runTest(java.util.Map<java.lang.String,java.lang.String> env,
                       java.util.Map<java.lang.String,java.lang.String> param,
                       java.io.PrintStream out)
Runs one instance of the test (simple variant, w/o global result storage).

Specified by:
runTest in interface EvalPlugin
Overrides:
runTest in class DefaultPlugin
Parameters:
env - Environment map (global params).
param - Individual params.
out - Text stream for output messages.
Returns:
True if test was successful, false in case of fatal error (instantiation, e.g.).