ptolemy.domains.tester.lib
Interface Testable


public interface Testable

Interface for attributes that implement tests.

Since:
Ptolemy II 8.0
Version:
$Id: Testable.java 59167 2010-09-21 17:08:02Z cxh $
Author:
Christopher Brooks, Dai Bui, Edward A. Lee, Ben Lickly

Method Summary
 void test()
          Run a test and throw an exception if it fails.
 void train()
          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()
Train the test. This method should record the the correct values for the test.