cz.cuni.jagrlib.eval
Class Ex2005_02_b
java.lang.Object
cz.cuni.jagrlib.eval.DefaultPlugin
cz.cuni.jagrlib.eval.Ex2005_02_b
- All Implemented Interfaces:
- EvalPlugin
public class Ex2005_02_b
- extends DefaultPlugin
Evaluation plugin for MainEval: exercise 02, clipped lines with non-integer coordinates, with antialiasing.
- Since:
- 0.24
- See Also:
MainEval
,
Ex2005_02_b.java
Field Summary |
protected static java.lang.String |
CLIP
Clipping class name. |
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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLIP
protected static final java.lang.String CLIP
- Clipping class name.
- See Also:
- Constant Field Values
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
Ex2005_02_b
public Ex2005_02_b()
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.).