Skip to content

Latest commit

 

History

History
executable file
·
44 lines (37 loc) · 1.34 KB

README.md

File metadata and controls

executable file
·
44 lines (37 loc) · 1.34 KB

pytest

sort-analyzer

An alogrithm efficiency analyzer tool for few famous sort algorithms

Visuals

MainScreen LiveSort AlgoCompare

Pre-requesties

  • Python 3.6+ (tested on python version: Python 3.11 - Mac OS)

Setup

$ git clone https://github.com/KR-Ravindra/sort-analyzer && cd sort-analyzer
$ python3 -m venv .env
$ source .env/bin/activate
(.env) $ pip3 install -r requirements.txt # Install dependencies from the file 'requirements' in current directory to your local environment

Getting Started

$ python3 main.py
# Asks for user input of an array and algo_name, else defaults to bubble sort and predefined elements

To Contributors

(.env) $ pip3 freeze > requirements.txt
$ git add . && git commit -m "My Fancy Commit Message"
$ git push origin mybranchname

Running Test Cases

# set your environment variable so you can find the algorithms/visualizer or any folder
$ export PYTHONPATH=$PYTHONPATH:$PWD/algorithms 
$ pytest # Run all test cases with coverage report

Contribution

No particular rules, Thank you for contributions!