28 lines
508 B

package leveldb
import (
"reflect"
"testing"
"wallet-system/internal/conf"
"wallet-system/internal/pkg/leveldb"
)
func TestNewLevelDB(t *testing.T) {
type args struct {
c *conf.Data
}
tests := []struct {
name string
args args
want *leveldb.LevelDB
}{
// TODO: Add test cases.
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if got := NewLevelDB(tt.args.c); !reflect.DeepEqual(got, tt.want) {
t.Errorf("NewLevelDB() = %v, want %v", got, tt.want)
}
})
}
}