Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
maharajamihir committed Jun 22, 2021
1 parent 12c0dcf commit e373940
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions GAD 8 - Binomial Heap/tests/binomilia/BinomialHeapTester.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@
import gad.binomilia.*;

/**
*
* @author Mihir Mahajan
*
* These tests only test if your BinomialHeap/BinomialTree itself works.
* They don't test the logging. Still, they may not work if the logging
* is incorrect!
*
* I can not guarantee the correctness or accuracy of these tests. I
* hope they help, enjoy!
*@author Mihir Mahajan
*
* These tests only test if your BinomialHeap/BinomialTree itself works.
* They don't test the logging. Still, they may not work if the logging
* is incorrect!
*
* I can not guarantee the correctness or accuracy of these tests. I
* hope they help, enjoy!
*/

public class BinomialHeapTester {
Expand All @@ -49,7 +48,7 @@ void testIllegal() {
void testMin() {
for (int i = 0; i < 500; i++) {
heap.insert(i, result);
assertEquals(-300, heap.min(), "Wrong value for min!");
assertEquals(0, heap.min(), "Wrong value for min!");
}
}

Expand Down

0 comments on commit e373940

Please sign in to comment.