def test_case_2(self): self.assertEqual(waterArea([0, 0, 0, 0, 0]), 0)
def test_case_11(self): self.assertEqual( waterArea([0, 100, 0, 0, 10, 1, 1, 10, 1, 0, 1, 1, 0, 0]), 39)
def test_case_1(self): self.assertEqual(waterArea([]), 0)
def test_case_10(self): self.assertEqual( waterArea([0, 100, 0, 0, 10, 1, 1, 10, 1, 0, 1, 1, 0, 100]), 1075)
def test_case_9(self): self.assertEqual( waterArea([0, 8, 0, 0, 10, 0, 0, 10, 0, 0, 1, 1, 0, 3]), 49)
def test_case_7(self): self.assertEqual(waterArea([0, 1, 0, 1, 0, 2, 0, 3]), 4)
def test_case_6(self): self.assertEqual(waterArea([0, 1, 0, 1, 0]), 1)
def test_case_5(self): self.assertEqual(waterArea([0, 1, 2, 1, 1]), 0)