8000 GitHub - mqueiroz1995/algorithms: Examples of data structures and algorithms in Python :computer:
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mqueiroz1995/algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 Algorithms

This repository contains data structures and algorithms in Python.

Tests

Tests were implemented using unittest, a Python Unit Testing framework based in JUnit.

To run all the tests, from /data_structures execute the following command:

python3 -m unittest discover tests -p "*Test.py"

To run a specific test execute:

python3 -m unittest tests.TEST_MODULE

If you want coverage you can use the same commands above, but replacing python3 with coverage run. Coverage analysis is done by using Coverage.py.

If you want to run mutation tests, you can use mutpy by executing the following command:

mut.py \
--target src \
--unit-test tests \
--timeout-factor 1 \
--coverage \
--colored-output

An easier way to executing both coverage and mutation tests is running ./test_runnes.sh.

About

Examples of data structures and algorithms in Python 💻

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0