Package se.umu.cs.aj.heap
Class BinaryHeapTest
- java.lang.Object
-
- se.umu.cs.aj.heap.BinaryHeapTest
-
public class BinaryHeapTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BinaryHeapTest()
-
Method Summary
-
-
-
Method Detail
-
shouldInsert
@Test public void shouldInsert()
-
shouldDequeueCorrectObjectForOneElement
@Test public void shouldDequeueCorrectObjectForOneElement()
-
shouldDequeueCorrectWeightForOneElement
@Test public void shouldDequeueCorrectWeightForOneElement()
-
shouldDequeueCorrectObjectForTenUnorderedElementsAfterMakeHeap
@Test public void shouldDequeueCorrectObjectForTenUnorderedElementsAfterMakeHeap()
-
shouldDequeueCorrectObjectForTenElements
@Test public void shouldDequeueCorrectObjectForTenElements()
-
shouldDequeueCorrectWeightForTenElements
@Test public void shouldDequeueCorrectWeightForTenElements()
-
shouldDequeueCorrectSecondObjectForTenElements
@Test public void shouldDequeueCorrectSecondObjectForTenElements()
-
shouldDequeueCorrectSecondWeightForTenElements
@Test public void shouldDequeueCorrectSecondWeightForTenElements()
-
shouldDequeueCorrectThirdObjectForTenElements
@Test public void shouldDequeueCorrectThirdObjectForTenElements()
-
shouldDequeueCorrectThirdWeightForTenElements
@Test public void shouldDequeueCorrectThirdWeightForTenElements()
-
shouldDequeueCorrectFourthObjectForTenElements
@Test public void shouldDequeueCorrectFourthObjectForTenElements()
-
shouldDequeueCorrectFourthWeightForTenElements
@Test public void shouldDequeueCorrectFourthWeightForTenElements()
-
shouldDequeueCorrectFifthObjectForTenElements
@Test public void shouldDequeueCorrectFifthObjectForTenElements()
-
shouldDequeueCorrectFifthWeightForTenElements
@Test public void shouldDequeueCorrectFifthWeightForTenElements()
-
shouldDequeueCorrectSixthObjectForTenElements
@Test public void shouldDequeueCorrectSixthObjectForTenElements()
-
shouldDequeueCorrectSixthWeightForTenElements
@Test public void shouldDequeueCorrectSixthWeightForTenElements()
-
shouldDequeueCorrectSeventhObjectForTenElements
@Test public void shouldDequeueCorrectSeventhObjectForTenElements()
-
shouldDequeueCorrectSeventhWeightForTenElements
@Test public void shouldDequeueCorrectSeventhWeightForTenElements()
-
shouldDequeueCorrectEighthObjectForTenElements
@Test public void shouldDequeueCorrectEighthObjectForTenElements()
-
shouldDequeueCorrectEighthWeightForTenElements
@Test public void shouldDequeueCorrectEighthWeightForTenElements()
-
shouldDequeueCorrectNinethObjectForTenElements
@Test public void shouldDequeueCorrectNinethObjectForTenElements()
-
shouldDequeueCorrectNinethWeightForTenElements
@Test public void shouldDequeueCorrectNinethWeightForTenElements()
-
shouldDequeueCorrectTenthObjectForTenElements
@Test public void shouldDequeueCorrectTenthObjectForTenElements()
-
shouldDequeueCorrectTenthWeightForTenElements
@Test public void shouldDequeueCorrectTenthWeightForTenElements()
-
shouldDequeueCorrectObjectForTenElementsAfterDecreasingOneWeight
@Test public void shouldDequeueCorrectObjectForTenElementsAfterDecreasingOneWeight()
-
shouldDequeueCorrectWeightForTenElementsAfterDecreasingOneWeight
@Test public void shouldDequeueCorrectWeightForTenElementsAfterDecreasingOneWeight()
-
shouldDequeueCorrectObjectForTenElementsAfterDecreasingAllWeights
@Test public void shouldDequeueCorrectObjectForTenElementsAfterDecreasingAllWeights()
-
shouldDequeueCorrectWeightForTenElementsAfterDecreasingAllWeights
@Test public void shouldDequeueCorrectWeightForTenElementsAfterDecreasingAllWeights()
-
shouldDequeueCorrectLastObjectForTenElementsAfterDecreasingAllWeights
@Test public void shouldDequeueCorrectLastObjectForTenElementsAfterDecreasingAllWeights()
-
shouldDequeueCorrectLastWeightForTenElementsAfterDecreasingAllWeights
@Test public void shouldDequeueCorrectLastWeightForTenElementsAfterDecreasingAllWeights()
-
shouldDequeueCorrectLastWeightForTenElementsAfterDecreasingAllWeightsUsingSecondCreationOption
@Test public void shouldDequeueCorrectLastWeightForTenElementsAfterDecreasingAllWeightsUsingSecondCreationOption()
-
shouldBeEmptyAfterEnqueueingAndDequeueingTenElements
@Test public void shouldBeEmptyAfterEnqueueingAndDequeueingTenElements()
-
-