Java Reference
In-Depth Information
13.4.4
Test
The following test cases can be performed to verify the correct behaviour of
the simulator using the simulator GUI depicted in Figure 13.9.
Open the input pump of a colour tank and verify that:
-
the paint level increases and the speed is proportional to the pump's
output flow;
-
the input pump is closed automatically when the tank gets full.
Open the output pump of a tank or the spray and drain pumps of the
mixture tank and verify that:
-
the paint level increases and the speed is proportional to the pump's
output flow;
-
the output pump is closed automatically when the tank gets empty. For
this test it is necessary that in the meantime the downstream tank does
not get full.
Open all the output pumps of the three colour tanks and verify that:
-
they are closed when the mixture tank is full and the drain and spray
pumps are closed;
Figure 13.9 The graphical representation of the simulated plant. Copyright © 2005 Sun
Microsystems, Inc. All rights reserved. Reproduced by permission of Sun Microsystems, Inc.
 
Search WWH ::




Custom Search