Skip to content

gjolly/csorts

Repository files navigation

csorts

Build Status

Implementing all the sort algorithms in C. You can find the algorithms in sorting.c.

Testing

Test functions should be written if file ending with _test.c. Use test.h to find the tools to build (assert, fail...) your test. Run your test using run_test.sh.

$ ./run_test.sh
Compiling with SORT_ALGO=merge

SUCCES: basic
SUCCES: basic2
SUCCES: basic3
SUCCES: empty
SUCCES: hundred
SUCCES: characters

If you want to run only a set of tests, you can pass an expression to the script:

$ ./run_test.sh basic
Compiling with SORT_ALGO=merge

SUCCES: basic
SUCCES: basic3

About

Sort algorithms written in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published