Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
Signed-off-by: Ted Xu <ted.xu@zilliz.com>
  • Loading branch information
tedxu committed Nov 15, 2024
1 parent a5a489e commit c68558b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions internal/datacoord/knapsack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,11 @@
package datacoord

import (
"reflect"
"testing"

"github.com/stretchr/testify/assert"
)

func Test_newSegmentPacker(t *testing.T) {
type args struct {
name string
candidates []*SegmentInfo
}
tests := []struct {
name string
args args
want Knapsack[*SegmentInfo]
}{
// TODO: Add test cases.
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if got := newSegmentPacker(tt.args.name, tt.args.candidates); !reflect.DeepEqual(got, tt.want) {
t.Errorf("newSegmentPacker() = %v, want %v", got, tt.want)
}
})
}
}

type element struct {
size int64
id int64
Expand Down

0 comments on commit c68558b

Please sign in to comment.