Package org.jreliability.tester
Class TestExample
- java.lang.Object
-
- org.jreliability.tester.TestExample
-
public class TestExample extends java.lang.Object
TheTestExample
is a play example. It describes a water heating system that consists of a heater and two pumps. To allow a correct functionality, the system needs a working heater and at least one working pump.
-
-
Constructor Summary
Constructors Constructor Description TestExample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Term
get()
Returns theTerm
representation of theTestExample
.
-
-
-
Field Detail
-
heater
protected final java.lang.String heater
The heater.- See Also:
- Constant Field Values
-
pump1
protected final java.lang.String pump1
The first pump.- See Also:
- Constant Field Values
-
pump2
protected final java.lang.String pump2
The second pump.- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public Term get()
Returns theTerm
representation of theTestExample
.- Returns:
- the term representation of the test example
-
-