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.
28 lines
512 B
28 lines
512 B
package tron
|
|
|
|
import (
|
|
"reflect"
|
|
"testing"
|
|
"wallet-system/internal/conf"
|
|
"wallet-system/internal/pkg/wallet/tron/grpc"
|
|
)
|
|
|
|
func TestNewTronGrpc(t *testing.T) {
|
|
type args struct {
|
|
c *conf.Aws
|
|
}
|
|
tests := []struct {
|
|
name string
|
|
args args
|
|
want *grpc.Client
|
|
}{
|
|
// TODO: Add test cases.
|
|
}
|
|
for _, tt := range tests {
|
|
t.Run(tt.name, func(t *testing.T) {
|
|
if got := NewTronGrpc(tt.args.c); !reflect.DeepEqual(got, tt.want) {
|
|
t.Errorf("NewTronGrpc() = %v, want %v", got, tt.want)
|
|
}
|
|
})
|
|
}
|
|
}
|
|
|