package ast import ( "testing" ) func TestMaxFieldAlignmentAttr(t *testing.T) { nodes := map[string]testNode{ `0x7fd4b7063ac0 <> Implicit 32`: testNode{&MaxFieldAlignmentAttr{ Addr: 0x7fd4b7063ac0, Pos: NewPositionFromString(""), Size: 32, ChildNodes: []Node{}, }, 0x7fd4b7063ac0, NewPositionFromString(""), []Node{}, }, `0x7fd4b7063ac0 <> Implicit 8`: testNode{&MaxFieldAlignmentAttr{ Addr: 0x7fd4b7063ac0, Pos: NewPositionFromString(""), Size: 8, ChildNodes: []Node{}, }, 0x7fd4b7063ac0, NewPositionFromString(""), []Node{}, }, } runNodeTests(t, nodes) }