package analyzer
import "testing"
func TestEnumSection (test *testing.T) {
checkTree ("../tests/analyzer/enumSection", false,
`enumSection ro ../tests/analyzer/enumSection.aWeekday
arg uint 1
type 1 basic Int
member sunday
member monday
arg uint 2
member tuesday
arg uint 3
member wednesday
arg uint 4
member thursday
arg uint 5
member friday
arg uint 6
member saturday
arg uint 7
typeSection ro ../tests/analyzer/enumSection.bColor
type 1 basic U32
enumSection ro ../tests/analyzer/enumSection.cNamedColor
arg uint 16711680
type 1 basic bColor
member red
member green
arg uint 65280
member blue
arg uint 255
enumSection ro ../tests/analyzer/enumSection.dFromFarAway
type 1 basic dInheritFromOther
member bird
member bread
typeSection ro ../tests/analyzer/typeSection/required.aBasic
typeSection ro ../tests/analyzer/typeSection.dInheritFromOther
type 1 basic aBasic
`, test)
}