A representation of a square matrix in with a single array. A Python implementation of https://github.com/makoru-hikage/sasquare-docs
Original implementation here: https://github.com/makoru-hikage/single-array-square
- Displays a text-based perfect square
- Highlights a chosen row or column of a perfect square
- Highlights all four corners of a square
- Highlights the center of a square
- Shows a cell's counterpart on the other side of a square
Can be run in CMD or bash (and any unix terminal). Requires Python 3.
### Assure that sasquare.py has a +x permission
chmod +x sasquare.py
./sasquare.py
## OR
python sasquare.py
Requires unittest
. Just cd
into the root of project directory and run this.
python -m unittest -v tests.celltests.TestCellFunctions