Package ptolemy.domains.tester.lib
Interface Testable
-
- All Known Implementing Classes:
CollectLatticeOntologySolverDetails,DeltaConstraintSolver,LatticeOntologySolver,OntologySolver,ProductLatticeOntologySolver
public interface TestableInterface for attributes that implement tests.- Since:
- Ptolemy II 8.0
- Version:
- $Id$
- Author:
- Christopher Brooks, Dai Bui, Edward A. Lee, Ben Lickly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtest()Run a test and throw an exception if it fails.voidtrain()Train the test.
-
-
-
Method Detail
-
test
void test() throws IllegalActionException
Run a test and throw an exception if it fails.- Throws:
IllegalActionException- If the test fails.
-
train
void train() throws IllegalActionExceptionTrain the test. This method should record the the correct values for the test.- Throws:
IllegalActionException- If training fails.
-
-