def test_pppppp(self): test = PsAndQs(StringIO("pppppp")) self.assertTrue(test.run())
def test_qqqqqqq(self): test = PsAndQs(StringIO("qqqqqqq")) self.assertTrue(test.run())
def test_rppppqqqq(self): test = PsAndQs(StringIO("rppppqqqq")) self.assertFalse(test.run())
def test_ppppqqqqr(self): test = PsAndQs(StringIO("ppppqqqqr")) self.assertFalse(test.run())
def test_qqqqpppp(self): test = PsAndQs(StringIO("qqqqpppp")) self.assertFalse(test.run())