simulator.script
Class True

java.lang.Object
  |
  +--simulator.script.Assertion
        |
        +--simulator.script.True

public class True
extends Assertion

Simple assertion which gives back true every time it is checked.

Data
None


Constructor Summary
True(java.lang.String d)
          Constructor.
 
Method Summary
 boolean check()
          Checks the assertion.
 
Methods inherited from class simulator.script.Assertion
getData, getName, init, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

True

public True(java.lang.String d)
Constructor.
Method Detail

check

public boolean check()
Checks the assertion.
Overrides:
check in class Assertion
Following copied from class: simulator.script.Assertion
Returns:
True if the state monitored by the Assertion is found to be true, false otherwise.