Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(15)  |  Call(15)  |  Derive(0)  |  Import(0)

src/d/r/DrumBurp-HEAD/src/test/testAsciiExport.py   DrumBurp(Download)
        score.addNote(NotePosition(0, 1, 0, 0), "y")
        score.addNote(NotePosition(0, 2, 0, 0), "z")
        score.formatScore(40)
        output = self.getOutput(score, settings)
        self.assertEqual(output,
        score.setSectionEnd(NotePosition(0, 1), True)
        score.setSectionTitle(0, "Section 1")
        score.formatScore(40)
        score.setSectionEnd(NotePosition(1, 0), True)
        score.setSectionTitle(1, "Section 2")
        score.formatScore(40)
        score.getMeasure(0).setRepeatStart(True)
        score.getMeasure(0).setRepeatEnd(True)
        score.formatScore(40)
        output = self.getOutput(score, settings)
        self.assertEqual(output,
        score.getMeasure(1).setRepeatEnd(True)
        score.getMeasure(1).repeatCount = 3
        score.formatScore(40)
        output = self.getOutput(score, settings)
        self.assertEqual(output,

src/d/r/DrumBurp-HEAD/src/test/testScore.py   DrumBurp(Download)
        for dummy in range(0, 12):
            self.score.insertMeasureByIndex(16)
        self.score.formatScore(80)
 
    def testgetItemAtPosition(self):
        for width in range(0, 8):
            self.score.insertMeasureByIndex(width + 8)
        self.score.formatScore(40)
 
    def testCopyPasteByPosition(self):
            measure.addNote(NotePosition(noteTime = 0, drumIndex = 0),
                            chr(ord("a") + index))
        self.score.formatScore(80)
 
    def testIterMeasures(self):
            measure.addNote(NotePosition(noteTime = 0, drumIndex = 0),
                            chr(ord("a") + index))
        self.score.formatScore(80)
 
    def testNoSections(self):
            measure.addNote(NotePosition(noteTime = 0, drumIndex = 0),
                            chr(ord("a") + index))
        self.score.formatScore(80)
 
    def testNotePlus(self):