// Code generated by xtgen; DO NOT EDIT. package res import "testing" func TestWireSizes(t *testing.T) { if ClientSize != 8 { t.Errorf("Client fixed prefix = %d", ClientSize) } if TypeSize != 8 { t.Errorf("Type fixed prefix = %d", TypeSize) } if ClientIdSpecSize != 8 { t.Errorf("ClientIdSpec fixed prefix = %d", ClientIdSpecSize) } if ClientIdValueSize != 12 { t.Errorf("ClientIdValue fixed prefix = %d", ClientIdValueSize) } if ResourceIdSpecSize != 8 { t.Errorf("ResourceIdSpec fixed prefix = %d", ResourceIdSpecSize) } if ResourceSizeSpecSize != 20 { t.Errorf("ResourceSizeSpec fixed prefix = %d", ResourceSizeSpecSize) } if ResourceSizeValueSize != 24 { t.Errorf("ResourceSizeValue fixed prefix = %d", ResourceSizeValueSize) } if got := 32; got != 32 { t.Errorf("reply QueryVersion fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryClients fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryClientResources fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryClientPixmapBytes fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryClientIds fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryResourceBytes fixed size = %d", got) } }