def setUp(self): self.item = Harmony.Frame(strings=6, notes={2: Harmony.FrameNote(fret=1)}) self.item.notes[2].barre = "stop" self.item.notes[3] = Harmony.FrameNote(fret=1) self.item.notes[3].barre = "start" self.lilystring = "^\markup {\n\r\\fret-diagram #\"w:6;6-o;5-o;4-o;3-1-2;2-1;1-o;\"\n}"
def setUp(self): self.item = Harmony.Harmony() self.item.degrees.append(Harmony.Degree()) self.lilystring = "\chords {\n\r:\n\r}"
def setUp(self): self.item = Harmony.Harmony() self.item.kind = Harmony.Kind(parenthesis=True) self.item.degrees.append(Harmony.Degree(value=3)) self.lilystring = "\\chords {\n\r:(3)\n\r}"
def setUp(self): self.item = Harmony.Degree(type="alter") self.lilystring = "#"
def setUp(self): self.item = Harmony.Degree(type="subtract") self.lilystring = "no "
def setUp(self): self.item = Harmony.Degree(value=1) self.lilystring = "1"
def setUp(self): self.item = Harmony.Harmony(root="G") self.lilystring = "\chords {\n\rG\n\r}"
def setUp(self): self.item = Harmony.Kind() self.lilystring = ""
def setUp(self): self.item = Harmony.Frame(frets=6) self.lilystring = "^\markup {\n\r\\fret-diagram #\"h:6;\"\n}"
def setUp(self): self.item = Harmony.Frame(strings=6, notes={1: Harmony.FrameNote(fret=3)}) self.lilystring = "^\markup {\n\r\\fret-diagram #\"w:6;6-o;5-o;4-o;3-o;2-o;1-3;\"\n}"
def setUp(self): self.item = Harmony.Frame(strings=6) self.lilystring = "^\markup {\n\r\\fret-diagram #\"w:6;6-o;5-o;4-o;3-o;2-o;1-o;\"\n}"
def setUp(self): self.item = Harmony.FrameNote(fret=1) self.lilystring = "-1"
def setUp(self): self.item = Harmony.FrameNote(string=1) self.lilystring = "1-"
def setUp(self): self.item = Harmony.Harmony() self.item.kind = Harmony.Kind() self.lilystring = "\chords {\n\r:\n\r}"
def setUp(self): self.item = Harmony.Harmony(bass="F") self.lilystring = "\chords {\n\r:/F\n\r}"
def setUp(self): self.item = Harmony.Harmony() self.item.frame = Harmony.Frame() self.lilystring = [ "\chords {\n\r}", "^\markup {\n\r\\fret-diagram #\"\"\n}" ]
def setUp(self): self.item = Harmony.Degree(alter=1) self.lilystring = ""
def setUp(self): self.item = Harmony.Kind(value=1) self.lilystring = "1"
def setUp(self): self.item = Harmony.Kind(text="3", value=2) self.lilystring = "3"