def test_09(self):
     thrown = False
     stamina = 12
     stair = [0, 100, 0, 0, 0, 999, 0, 0, 0, 0, 0, 999, 0, 0, 5, 5, 7, 7, 7]
     try:
         finstam = wreckBeach.wreckMain(stair, stamina)
     except ISexception.InsufficientStaminaException:
         thrown = True
     self.assertTrue(thrown)
 def test_01(self):
     thrown = False
     stamina = 1
     stair = [1]
     try:
         finstam = wreckBeach.wreckMain(stair, stamina)
     except ISexception.InsufficientStaminaException:
         thrown = True
     assert thrown
 def test_11(self):
     thrown = False
     stamina = 12
     stair = [0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2]
     try:
         finstam = wreckBeach.wreckMain(stair, stamina)
     except ISexception.InsufficientStaminaException:
         thrown = True
     self.assertTrue(thrown)
 def test_07(self):
     thrown = False
     stamina = 9
     stair = [0, 100, 0, 0, 0, 999, 0, 0, 0, 0, 0, 999, 0, 0, 5, 5]
     try:
         finstam = wreckBeach.wreckMain(stair, stamina)
     except ISexception.InsufficientStaminaException:
         thrown = True
     self.assertFalse(thrown)
     self.assertEqual(finstam, 4)
 def test_06(self):
     thrown = False
     stamina = 10
     stair = [0, 2, 0, 2, 0, 3, 1, 4]
     try:
         finstam = wreckBeach.wreckMain(stair, stamina)
     except ISexception.InsufficientStaminaException:
         thrown = True
     self.assertFalse(thrown)
     self.assertEqual(finstam, 5)
 def test_04(self):
     thrown = False
     stamina = 4
     stair = [1, 1, 1]
     try:
         finstam = wreckBeach.wreckMain(stair, stamina)
     except ISexception.InsufficientStaminaException:
         thrown = True
     self.assertFalse(thrown)
     self.assertEqual(finstam, 1)