You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
508 B

2 months ago
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)
}
})
}
}