Rabbit Escape  2017-01-14_18:33:47_+0000__(tag:_v0.10.1)
Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
rabbitescape.engine.solution.TestSolutionInterpreter Class Reference
Collaboration diagram for rabbitescape.engine.solution.TestSolutionInterpreter:
Collaboration graph
[legend]

Public Member Functions

void Empty_solution_does_nothing ()
 
void One_wait_waits_for_that_long ()
 
void Single_nonwait_action_makes_single_time_step ()
 
void Multiple_nonwait_actions_in_single_cmd_make_1_time_step ()
 
void Do_then_wait_then_do_translates_into_time_steps ()
 
void Wait_then_do_then_wait_translates_into_time_steps ()
 
void Empty_command_is_like_wait_1 ()
 
void Many_empty_commands ()
 
void If_no_commands_we_do_a_final_assert ()
 
void If_normal_commands_we_do_a_final_assert ()
 
void If_last_command_is_empty_we_do_a_final_assert ()
 
void If_last_command_is_assert_we_do_not_add_an_assert ()
 
void If_assert_then_wait_we_do_add_a_final_assert ()
 
void Until_stops_with_assert_when_won ()
 
void Until_stops_with_assert_when_lost_after_other_steps ()
 
void Until_can_assert_lost ()
 
void Until_stops_and_fails_after_many_time_steps ()
 

Private Member Functions

List< SolutionTimeStepinterpreterList (SolutionInterpreter interpreter)
 

Static Private Attributes

static final CompletionState R = CompletionState.RUNNING
 
static final CompletionState W = CompletionState.WON
 
static final CompletionState L = CompletionState.LOST
 

Member Function Documentation

void rabbitescape.engine.solution.TestSolutionInterpreter.Do_then_wait_then_do_translates_into_time_steps ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.Empty_command_is_like_wait_1 ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.Empty_solution_does_nothing ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.If_assert_then_wait_we_do_add_a_final_assert ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.If_last_command_is_assert_we_do_not_add_an_assert ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.If_last_command_is_empty_we_do_a_final_assert ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.If_no_commands_we_do_a_final_assert ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.If_normal_commands_we_do_a_final_assert ( )
List<SolutionTimeStep> rabbitescape.engine.solution.TestSolutionInterpreter.interpreterList ( SolutionInterpreter  interpreter)
private
void rabbitescape.engine.solution.TestSolutionInterpreter.Many_empty_commands ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.Multiple_nonwait_actions_in_single_cmd_make_1_time_step ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.One_wait_waits_for_that_long ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.Single_nonwait_action_makes_single_time_step ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.Until_can_assert_lost ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.Until_stops_and_fails_after_many_time_steps ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.Until_stops_with_assert_when_lost_after_other_steps ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.Until_stops_with_assert_when_won ( )
void rabbitescape.engine.solution.TestSolutionInterpreter.Wait_then_do_then_wait_translates_into_time_steps ( )

Member Data Documentation

final CompletionState rabbitescape.engine.solution.TestSolutionInterpreter.L = CompletionState.LOST
staticprivate
final CompletionState rabbitescape.engine.solution.TestSolutionInterpreter.R = CompletionState.RUNNING
staticprivate
final CompletionState rabbitescape.engine.solution.TestSolutionInterpreter.W = CompletionState.WON
staticprivate

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