MCPcopy Create free account
hub / github.com/TheAlgorithms/C / test

Function test

sorting/odd_even_sort.c:90–110  ·  view source on GitHub ↗

* @brief Self-test implementations * @details Two tests (unsorted) arrays were created and their corresponding solution(sorted) arrays were also created. * The test arrays and their respective sizes are then passed in to the oddEvenSort function. * To test if the algorithm works, a for loop is assigned to loop through the both arrays(test and solution) and check if the array elements * of the

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 1

oddEvenSortFunction · 0.85

Tested by

no test coverage detected