diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 85a4fdb..c6f4ba6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,4 +38,4 @@ jobs: contents: read # to download code coverage results from unit_tests job pull-requests: write # write permission needed to comment on PR steps: - - uses: fgrosse/go-coverage-report@v1.0.2 + - uses: fgrosse/go-coverage-report@01ee5ff151ab6148d4a30693f821b01bf2fe3bc8 diff --git a/max_heap_test.go b/max_heap_test.go deleted file mode 100644 index 2d3549e..0000000 --- a/max_heap_test.go +++ /dev/null @@ -1,22 +0,0 @@ -package prioqueue_test - -import ( - "testing" - - "github.com/fgrosse/prioqueue" -) - -func TestMaxHeap(t *testing.T) { - var pq prioqueue.MaxHeap - runTests(t, &pq, assertBiggestFirst) -} - -func TestNewMaxHeap(t *testing.T) { - pq2 := prioqueue.NewMaxHeap(10) - runTests(t, pq2, assertBiggestFirst) -} - -func TestMaxHeap_Random(t *testing.T) { - pq := prioqueue.NewMaxHeap(10) - runTestsN(t, pq, assertBiggestFirst, 10_000) -}