Rabbit Escape  2017-01-14_18:33:47_+0000__(tag:_v0.10.1)
Public Member Functions | List of all members
rabbitescape.engine.logic.TestWater Class Reference

Public Member Functions

void Water_goes_round_ubend ()
 
void Bulkhead_flow ()
 
void Enclosed_regions_dont_fill ()
 
void Unqualified_standing_water_steps_normally ()
 
void Water_description_lines_are_only_output_when_needed ()
 
void Standard_amounts_of_water_on_ramps_shouldnt_have_descriptions ()
 

Member Function Documentation

void rabbitescape.engine.logic.TestWater.Bulkhead_flow ( )
void rabbitescape.engine.logic.TestWater.Enclosed_regions_dont_fill ( )
void rabbitescape.engine.logic.TestWater.Standard_amounts_of_water_on_ramps_shouldnt_have_descriptions ( )

Create some regions between ramps at the bottom and blocks at the top, and fill them with various amounts of water. Check that the water description isn't needed when the amount of water is exactly WaterUtil#MAX_CAPACITY (as created by a cell with an N) or WaterUtil#HALF_CAPACITY (as created by a cell with an n).

void rabbitescape.engine.logic.TestWater.Unqualified_standing_water_steps_normally ( )

Check that standing water can be loaded, stepped and output without any need for water amount description lines (lines starting ":n=").

void rabbitescape.engine.logic.TestWater.Water_description_lines_are_only_output_when_needed ( )

Check that standing water can be loaded, stepped and output without any need for water amount description lines (lines starting ":n=").

void rabbitescape.engine.logic.TestWater.Water_goes_round_ubend ( )

The documentation for this class was generated from the following file: