Function(s) to test: 
    - weight()
    - isaccessible()
    - color()
    - colorVisited()
    - visitCell()
                      
Input function type and test scope:
    A - all possible structured data
    B - (some of) all possible structured data

Scope: Increase the detection of errors that could
       determine conditions of software vulnerabilities.
       
Output: input and (possible) comments,
        (possible) function errors/success,
        (possible) explanations and/or solutions.
        
        
        
----------------------------------------------------------------------------------------------------------
TEST n°1:   isaccessible()

Data input (A):

        /*
            All possible value for a character
        
            Return: true if the character is accessible
                    false otherwise
        */

No errors.
----------------------------------------------------------------------------------------------------------
TEST n°2:   weight()

Data input (A):

        /*
            All possible value for a character
        
            Return: For accessible cells:
                        weight = 0 if it's CLOSE
                        weight = 1 otherwise
        */

No errors.
----------------------------------------------------------------------------------------------------------
TEST n°3:   color()

Data input (A):

        /*
            All possible value for a character
        
            Return: WHITE if cellId == FREE
                    RED if cellId == START
                    GREEN if cellId == DOOR
                    BLACK if cellId == CLOSE
                    BLACK otherwise.
        */

No errors.
----------------------------------------------------------------------------------------------------------
TEST n°4:   colorVisited()

Data input (A):
        
        /*
            All possible value for a character
        
            Return: WHITE if cellId == UNVISITED
                    LIGHT BLUE if cellId == VISIT1
                    BLUE if cellId == VISIT2
                    OPAQUE BLUE otherwise.
        */

No errors.
----------------------------------------------------------------------------------------------------------
TEST n°5:   visitCell()

Data input (B):

        /*
            (some of *) all possible structured data
            (Number of rows and columns are choosen randomly)

            Return: VISIT2, if before was VISIT1
                    VISIT1, if before was UNVISITED or VISIT2
                    UNVISITED otherwise (eventually for first set)
        */

No errors.
----------------------------------------------------------------------------------------------------------


