def testDryRun(self): self.assertEquals(ChooseCQMode(False, 101, 500000, 500100), 1)
def testSubmit(self): self.assertEquals(ChooseCQMode(False, 100, 500000, 500100), 2)
def testSkip(self): self.assertEquals(ChooseCQMode(True, 99, 500000, 500100), 0)