OLGKAD / sef18group15-coverage

Algorithms and Data Structures implemented in Java
Apache License 2.0
0 stars 0 forks source link

tests: BinaryHeapArray::heapDown() #13

Open OLGKAD opened 6 years ago

OLGKAD commented 6 years ago

Add tests to increase branch or path coverage.

OLGKAD commented 6 years ago

no tests can be added, I'll choose another function

OLGKAD commented 6 years ago

Their BinaryHeap doesn't support having two equal values in it. Because of that branch #8 could never be reached (the only uncovered branch).