Test Case 20

Requirement Traceability:

 

Requirement 18, 19, 35, 43, 46

 

Purpose:

Verify the user can clear the current level being worked on

 

Procedure:

 

     1.  Follow the steps below.
 

Test Data:
 

Action

Input

Expected Output

Start Sokoban game

 

The program will begin with the opening graphics sequence and display the main menu.

Click on Level Editor button

 

The level editor loads with an empty level ready for the user to begin designing a level

Click on the wall button

 

The wall icon becomes selected.

Click on the map

 

A wall is placed and visible on the map.

Select Level | New Level

 

The level is cleared and all squares are empty.

Select Level | Save Level

 

The level save dialog is displayed.

Enter a name for the level

 test2

The level name is visible in the dialog box.

Press Enter

 

The level save dialog is no longer visible and the level is saved.

Select Level | Exit

 

The program returns to the main menu.

Select Game | Exit

 

The program terminates.

Inspect test2.lvl

 

The file contains all 0's separated by spaces.