---
# System prepended metadata

title: Testing for Maze Challenge Project

---

# Testing for Maze Challenge Project
## Team: Group 9 - Invalid Pointer
Members: Samiha Datta, Mer Anderson, Sabrina Jain
GitHub usernames: samihadatta, meranderson, sabrinajain747
Date: March 9th, 2020

A variety of testing files were written throughout the course of the project in order to conduct modular testing. The overall testing protocol the group followed was to individually test each section of code using `[testing].c` files. 

First, the foundational structures and their accompanying methods, including `discovered.c` and `coordinate.c` were tested individually to ensure proper functionality.

Simultaneously, server connection was being tested and debugged. Once it was connecting and threading, the main while loop accepting server messages was tested by generating random moves. 

`gui.c` was tested seperately by sending preset avatar moves and printing them.

Once the server connection was working properly, we integrated the algorithm in `move_algorithm.c` and removed the random move function in order to debug the algorithm. 

Finally, the `gui` was integrated to display the avatar moves and final debugging occured once we were able to visually display the maze.

