// Code generated by xtgen; DO NOT EDIT. package render import "testing" func TestWireSizes(t *testing.T) { if DirectformatSize != 16 { t.Errorf("Directformat fixed prefix = %d", DirectformatSize) } if PictforminfoSize != 28 { t.Errorf("Pictforminfo fixed prefix = %d", PictforminfoSize) } if PictvisualSize != 8 { t.Errorf("Pictvisual fixed prefix = %d", PictvisualSize) } if PictdepthSize != 8 { t.Errorf("Pictdepth fixed prefix = %d", PictdepthSize) } if PictscreenSize != 8 { t.Errorf("Pictscreen fixed prefix = %d", PictscreenSize) } if IndexvalueSize != 12 { t.Errorf("Indexvalue fixed prefix = %d", IndexvalueSize) } if ColorSize != 8 { t.Errorf("Color fixed prefix = %d", ColorSize) } if PointfixSize != 8 { t.Errorf("Pointfix fixed prefix = %d", PointfixSize) } if LinefixSize != 16 { t.Errorf("Linefix fixed prefix = %d", LinefixSize) } if TriangleSize != 24 { t.Errorf("Triangle fixed prefix = %d", TriangleSize) } if TrapezoidSize != 40 { t.Errorf("Trapezoid fixed prefix = %d", TrapezoidSize) } if GlyphinfoSize != 12 { t.Errorf("Glyphinfo fixed prefix = %d", GlyphinfoSize) } if TransformSize != 36 { t.Errorf("Transform fixed prefix = %d", TransformSize) } if AnimcursoreltSize != 8 { t.Errorf("Animcursorelt fixed prefix = %d", AnimcursoreltSize) } if SpanfixSize != 12 { t.Errorf("Spanfix fixed prefix = %d", SpanfixSize) } if TrapSize != 24 { t.Errorf("Trap fixed prefix = %d", TrapSize) } if got := 32; got != 32 { t.Errorf("reply QueryVersion fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryPictFormats fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryPictIndexValues fixed size = %d", got) } if got := 32; got != 32 { t.Errorf("reply QueryFilters fixed size = %d", got) } }