import unittest
import max1
class check_max1(unittest.TestCase):
    def test_tc1(self):
        a=[1,1,1,0,0,1,0,1,1,0]
        status=max1.maxi1(a)
        self.assertEqual(status,3)
    def test_tc2(self):
        a=[1,1,1,0,1,1,1,1,1,0,0,1,1,0,0]
        status=max1.maxi1(a)
        self.assertEqual(status,5)
if __name__=="__main__":
    unittest.main()
4258fb40f57ed76663e5d832486cf0e4bb67ac83
<mask token>


class check_max1(unittest.TestCase):
    <mask token>

    def test_tc2(self):
        a = [1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0]
        status = max1.maxi1(a)
        self.assertEqual(status, 5)


<mask token>

<mask token>


class check_max1(unittest.TestCase):

    def test_tc1(self):
        a = [1, 1, 1, 0, 0, 1, 0, 1, 1, 0]
        status = max1.maxi1(a)
        self.assertEqual(status, 3)

    def test_tc2(self):
        a = [1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0]
        status = max1.maxi1(a)
        self.assertEqual(status, 5)


<mask token>

<mask token>


class check_max1(unittest.TestCase):

    def test_tc1(self):
        a = [1, 1, 1, 0, 0, 1, 0, 1, 1, 0]
        status = max1.maxi1(a)
        self.assertEqual(status, 3)

    def test_tc2(self):
        a = [1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0]
        status = max1.maxi1(a)
        self.assertEqual(status, 5)


if __name__ == '__main__':
    unittest.main()

import unittest
import max1


class check_max1(unittest.TestCase):

    def test_tc1(self):
        a = [1, 1, 1, 0, 0, 1, 0, 1, 1, 0]
        status = max1.maxi1(a)
        self.assertEqual(status, 3)

    def test_tc2(self):
        a = [1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0]
        status = max1.maxi1(a)
        self.assertEqual(status, 5)


if __name__ == '__main__':
    unittest.main()

import unittest
import max1
class check_max1(unittest.TestCase):
    def test_tc1(self):
        a=[1,1,1,0,0,1,0,1,1,0]
        status=max1.maxi1(a)
        self.assertEqual(status,3)
    def test_tc2(self):
        a=[1,1,1,0,1,1,1,1,1,0,0,1,1,0,0]
        status=max1.maxi1(a)
        self.assertEqual(status,5)
if __name__=="__main__":
    unittest.main()