@ -1,25 +1,14 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: rpc/grpc/types.proto
/ *
Package core_grpc is a generated protocol buffer package .
It is generated from these files :
rpc / grpc / types . proto
It has these top - level messages :
RequestPing
RequestBroadcastTx
ResponsePing
ResponseBroadcastTx
* /
package core_grpc
import testing "testing"
import rand "math/rand"
import math_rand "math/rand"
import time "time"
import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
import github_com_gogo_protobuf_jsonpb "github.com/gogo/protobuf/jsonpb"
import proto "github.com/gogo/protobuf/proto"
import jsonpb "github.com/gogo/protobuf/jsonpb"
import golang_proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
@ -34,14 +23,14 @@ var _ = math.Inf
func TestRequestPingProto ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestPing ( popr , false )
dAtA , err := proto . Marshal ( p )
dAtA , err := github_com_gogo_protobuf_ proto. Marshal ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & RequestPing { }
if err := proto . Unmarshal ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. Unmarshal ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
littlefuzz := make ( [ ] byte , len ( dAtA ) )
@ -59,13 +48,13 @@ func TestRequestPingProto(t *testing.T) {
littlefuzz = append ( littlefuzz , byte ( popr . Intn ( 256 ) ) )
}
// shouldn't panic
_ = proto . Unmarshal ( littlefuzz , msg )
_ = github_com_gogo_protobuf_ proto. Unmarshal ( littlefuzz , msg )
}
}
func TestRequestPingMarshalTo ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestPing ( popr , false )
size := p . Size ( )
dAtA := make ( [ ] byte , size )
@ -77,7 +66,7 @@ func TestRequestPingMarshalTo(t *testing.T) {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & RequestPing { }
if err := proto . Unmarshal ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. Unmarshal ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
for i := range dAtA {
@ -90,14 +79,14 @@ func TestRequestPingMarshalTo(t *testing.T) {
func TestRequestBroadcastTxProto ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestBroadcastTx ( popr , false )
dAtA , err := proto . Marshal ( p )
dAtA , err := github_com_gogo_protobuf_ proto. Marshal ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & RequestBroadcastTx { }
if err := proto . Unmarshal ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. Unmarshal ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
littlefuzz := make ( [ ] byte , len ( dAtA ) )
@ -115,13 +104,13 @@ func TestRequestBroadcastTxProto(t *testing.T) {
littlefuzz = append ( littlefuzz , byte ( popr . Intn ( 256 ) ) )
}
// shouldn't panic
_ = proto . Unmarshal ( littlefuzz , msg )
_ = github_com_gogo_protobuf_ proto. Unmarshal ( littlefuzz , msg )
}
}
func TestRequestBroadcastTxMarshalTo ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestBroadcastTx ( popr , false )
size := p . Size ( )
dAtA := make ( [ ] byte , size )
@ -133,7 +122,7 @@ func TestRequestBroadcastTxMarshalTo(t *testing.T) {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & RequestBroadcastTx { }
if err := proto . Unmarshal ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. Unmarshal ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
for i := range dAtA {
@ -146,14 +135,14 @@ func TestRequestBroadcastTxMarshalTo(t *testing.T) {
func TestResponsePingProto ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponsePing ( popr , false )
dAtA , err := proto . Marshal ( p )
dAtA , err := github_com_gogo_protobuf_ proto. Marshal ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & ResponsePing { }
if err := proto . Unmarshal ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. Unmarshal ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
littlefuzz := make ( [ ] byte , len ( dAtA ) )
@ -171,13 +160,13 @@ func TestResponsePingProto(t *testing.T) {
littlefuzz = append ( littlefuzz , byte ( popr . Intn ( 256 ) ) )
}
// shouldn't panic
_ = proto . Unmarshal ( littlefuzz , msg )
_ = github_com_gogo_protobuf_ proto. Unmarshal ( littlefuzz , msg )
}
}
func TestResponsePingMarshalTo ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponsePing ( popr , false )
size := p . Size ( )
dAtA := make ( [ ] byte , size )
@ -189,7 +178,7 @@ func TestResponsePingMarshalTo(t *testing.T) {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & ResponsePing { }
if err := proto . Unmarshal ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. Unmarshal ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
for i := range dAtA {
@ -202,14 +191,14 @@ func TestResponsePingMarshalTo(t *testing.T) {
func TestResponseBroadcastTxProto ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponseBroadcastTx ( popr , false )
dAtA , err := proto . Marshal ( p )
dAtA , err := github_com_gogo_protobuf_ proto. Marshal ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & ResponseBroadcastTx { }
if err := proto . Unmarshal ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. Unmarshal ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
littlefuzz := make ( [ ] byte , len ( dAtA ) )
@ -227,13 +216,13 @@ func TestResponseBroadcastTxProto(t *testing.T) {
littlefuzz = append ( littlefuzz , byte ( popr . Intn ( 256 ) ) )
}
// shouldn't panic
_ = proto . Unmarshal ( littlefuzz , msg )
_ = github_com_gogo_protobuf_ proto. Unmarshal ( littlefuzz , msg )
}
}
func TestResponseBroadcastTxMarshalTo ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponseBroadcastTx ( popr , false )
size := p . Size ( )
dAtA := make ( [ ] byte , size )
@ -245,7 +234,7 @@ func TestResponseBroadcastTxMarshalTo(t *testing.T) {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & ResponseBroadcastTx { }
if err := proto . Unmarshal ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. Unmarshal ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
for i := range dAtA {
@ -258,15 +247,15 @@ func TestResponseBroadcastTxMarshalTo(t *testing.T) {
func TestRequestPingJSON ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestPing ( popr , true )
marshaler := jsonpb . Marshaler { }
marshaler := github_com_gogo_protobuf_ jsonpb. Marshaler { }
jsondata , err := marshaler . MarshalToString ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & RequestPing { }
err = jsonpb . UnmarshalString ( jsondata , msg )
err = github_com_gogo_protobuf_ jsonpb. UnmarshalString ( jsondata , msg )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
@ -276,15 +265,15 @@ func TestRequestPingJSON(t *testing.T) {
}
func TestRequestBroadcastTxJSON ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestBroadcastTx ( popr , true )
marshaler := jsonpb . Marshaler { }
marshaler := github_com_gogo_protobuf_ jsonpb. Marshaler { }
jsondata , err := marshaler . MarshalToString ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & RequestBroadcastTx { }
err = jsonpb . UnmarshalString ( jsondata , msg )
err = github_com_gogo_protobuf_ jsonpb. UnmarshalString ( jsondata , msg )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
@ -294,15 +283,15 @@ func TestRequestBroadcastTxJSON(t *testing.T) {
}
func TestResponsePingJSON ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponsePing ( popr , true )
marshaler := jsonpb . Marshaler { }
marshaler := github_com_gogo_protobuf_ jsonpb. Marshaler { }
jsondata , err := marshaler . MarshalToString ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & ResponsePing { }
err = jsonpb . UnmarshalString ( jsondata , msg )
err = github_com_gogo_protobuf_ jsonpb. UnmarshalString ( jsondata , msg )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
@ -312,15 +301,15 @@ func TestResponsePingJSON(t *testing.T) {
}
func TestResponseBroadcastTxJSON ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponseBroadcastTx ( popr , true )
marshaler := jsonpb . Marshaler { }
marshaler := github_com_gogo_protobuf_ jsonpb. Marshaler { }
jsondata , err := marshaler . MarshalToString ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
msg := & ResponseBroadcastTx { }
err = jsonpb . UnmarshalString ( jsondata , msg )
err = github_com_gogo_protobuf_ jsonpb. UnmarshalString ( jsondata , msg )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
@ -330,11 +319,11 @@ func TestResponseBroadcastTxJSON(t *testing.T) {
}
func TestRequestPingProtoText ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestPing ( popr , true )
dAtA := proto . MarshalTextString ( p )
dAtA := github_com_gogo_protobuf_ proto. MarshalTextString ( p )
msg := & RequestPing { }
if err := proto . UnmarshalText ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. UnmarshalText ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
if ! p . Equal ( msg ) {
@ -344,11 +333,11 @@ func TestRequestPingProtoText(t *testing.T) {
func TestRequestPingProtoCompactText ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestPing ( popr , true )
dAtA := proto . CompactTextString ( p )
dAtA := github_com_gogo_protobuf_ proto. CompactTextString ( p )
msg := & RequestPing { }
if err := proto . UnmarshalText ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. UnmarshalText ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
if ! p . Equal ( msg ) {
@ -358,11 +347,11 @@ func TestRequestPingProtoCompactText(t *testing.T) {
func TestRequestBroadcastTxProtoText ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestBroadcastTx ( popr , true )
dAtA := proto . MarshalTextString ( p )
dAtA := github_com_gogo_protobuf_ proto. MarshalTextString ( p )
msg := & RequestBroadcastTx { }
if err := proto . UnmarshalText ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. UnmarshalText ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
if ! p . Equal ( msg ) {
@ -372,11 +361,11 @@ func TestRequestBroadcastTxProtoText(t *testing.T) {
func TestRequestBroadcastTxProtoCompactText ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestBroadcastTx ( popr , true )
dAtA := proto . CompactTextString ( p )
dAtA := github_com_gogo_protobuf_ proto. CompactTextString ( p )
msg := & RequestBroadcastTx { }
if err := proto . UnmarshalText ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. UnmarshalText ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
if ! p . Equal ( msg ) {
@ -386,11 +375,11 @@ func TestRequestBroadcastTxProtoCompactText(t *testing.T) {
func TestResponsePingProtoText ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponsePing ( popr , true )
dAtA := proto . MarshalTextString ( p )
dAtA := github_com_gogo_protobuf_ proto. MarshalTextString ( p )
msg := & ResponsePing { }
if err := proto . UnmarshalText ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. UnmarshalText ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
if ! p . Equal ( msg ) {
@ -400,11 +389,11 @@ func TestResponsePingProtoText(t *testing.T) {
func TestResponsePingProtoCompactText ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponsePing ( popr , true )
dAtA := proto . CompactTextString ( p )
dAtA := github_com_gogo_protobuf_ proto. CompactTextString ( p )
msg := & ResponsePing { }
if err := proto . UnmarshalText ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. UnmarshalText ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
if ! p . Equal ( msg ) {
@ -414,11 +403,11 @@ func TestResponsePingProtoCompactText(t *testing.T) {
func TestResponseBroadcastTxProtoText ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponseBroadcastTx ( popr , true )
dAtA := proto . MarshalTextString ( p )
dAtA := github_com_gogo_protobuf_ proto. MarshalTextString ( p )
msg := & ResponseBroadcastTx { }
if err := proto . UnmarshalText ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. UnmarshalText ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
if ! p . Equal ( msg ) {
@ -428,11 +417,11 @@ func TestResponseBroadcastTxProtoText(t *testing.T) {
func TestResponseBroadcastTxProtoCompactText ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponseBroadcastTx ( popr , true )
dAtA := proto . CompactTextString ( p )
dAtA := github_com_gogo_protobuf_ proto. CompactTextString ( p )
msg := & ResponseBroadcastTx { }
if err := proto . UnmarshalText ( dAtA , msg ) ; err != nil {
if err := github_com_gogo_protobuf_ proto. UnmarshalText ( dAtA , msg ) ; err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
if ! p . Equal ( msg ) {
@ -442,10 +431,10 @@ func TestResponseBroadcastTxProtoCompactText(t *testing.T) {
func TestRequestPingSize ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestPing ( popr , true )
size2 := proto . Size ( p )
dAtA , err := proto . Marshal ( p )
size2 := github_com_gogo_protobuf_ proto. Size ( p )
dAtA , err := github_com_gogo_protobuf_ proto. Marshal ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
@ -456,7 +445,7 @@ func TestRequestPingSize(t *testing.T) {
if size2 != size {
t . Errorf ( "seed = %d, size %v != before marshal proto.Size %v" , seed , size , size2 )
}
size3 := proto . Size ( p )
size3 := github_com_gogo_protobuf_ proto. Size ( p )
if size3 != size {
t . Errorf ( "seed = %d, size %v != after marshal proto.Size %v" , seed , size , size3 )
}
@ -464,10 +453,10 @@ func TestRequestPingSize(t *testing.T) {
func TestRequestBroadcastTxSize ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedRequestBroadcastTx ( popr , true )
size2 := proto . Size ( p )
dAtA , err := proto . Marshal ( p )
size2 := github_com_gogo_protobuf_ proto. Size ( p )
dAtA , err := github_com_gogo_protobuf_ proto. Marshal ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
@ -478,7 +467,7 @@ func TestRequestBroadcastTxSize(t *testing.T) {
if size2 != size {
t . Errorf ( "seed = %d, size %v != before marshal proto.Size %v" , seed , size , size2 )
}
size3 := proto . Size ( p )
size3 := github_com_gogo_protobuf_ proto. Size ( p )
if size3 != size {
t . Errorf ( "seed = %d, size %v != after marshal proto.Size %v" , seed , size , size3 )
}
@ -486,10 +475,10 @@ func TestRequestBroadcastTxSize(t *testing.T) {
func TestResponsePingSize ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponsePing ( popr , true )
size2 := proto . Size ( p )
dAtA , err := proto . Marshal ( p )
size2 := github_com_gogo_protobuf_ proto. Size ( p )
dAtA , err := github_com_gogo_protobuf_ proto. Marshal ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
@ -500,7 +489,7 @@ func TestResponsePingSize(t *testing.T) {
if size2 != size {
t . Errorf ( "seed = %d, size %v != before marshal proto.Size %v" , seed , size , size2 )
}
size3 := proto . Size ( p )
size3 := github_com_gogo_protobuf_ proto. Size ( p )
if size3 != size {
t . Errorf ( "seed = %d, size %v != after marshal proto.Size %v" , seed , size , size3 )
}
@ -508,10 +497,10 @@ func TestResponsePingSize(t *testing.T) {
func TestResponseBroadcastTxSize ( t * testing . T ) {
seed := time . Now ( ) . UnixNano ( )
popr := rand . New ( rand . NewSource ( seed ) )
popr := math_ rand. New ( math_ rand. NewSource ( seed ) )
p := NewPopulatedResponseBroadcastTx ( popr , true )
size2 := proto . Size ( p )
dAtA , err := proto . Marshal ( p )
size2 := github_com_gogo_protobuf_ proto. Size ( p )
dAtA , err := github_com_gogo_protobuf_ proto. Marshal ( p )
if err != nil {
t . Fatalf ( "seed = %d, err = %v" , seed , err )
}
@ -522,7 +511,7 @@ func TestResponseBroadcastTxSize(t *testing.T) {
if size2 != size {
t . Errorf ( "seed = %d, size %v != before marshal proto.Size %v" , seed , size , size2 )
}
size3 := proto . Size ( p )
size3 := github_com_gogo_protobuf_ proto. Size ( p )
if size3 != size {
t . Errorf ( "seed = %d, size %v != after marshal proto.Size %v" , seed , size , size3 )
}