test_session10.py
def validate_polygon_seq():
    
    """
    This function will have test case to validate polygon class

    Returns
    -------
    assert error or success.

    """
    polygon_vertices = [10,50,30,40,20]
    polygon_vertices_25 = [k for k in range(1,26)]
    circumradius = 30
    polygonsequencecustom = PolygonSequence()
    polygon_vertices_25Custom = PolygonSequence(polygon_vertices_25,
                                                circumradius)
    
    assert (polygonsequencecustom.callc_max_effcncy() == 50)
    assert (polygon_vertices_25Custom.callc_max_effcncy() == 25)
    assert (polygon_vertices_25Custom.__len__() == 25)
    assert len(polygon_vertices_25Custom.__repr__()) > 0  ## test case to validate it returns proper value
    assert (polygonsequencecustom[3] == 40)


    #print(polygon_vertices_25Custom.__getitem__("max_efficiency_list"))

    This function will have test case to validate polygon class

    Returns
    -------
    assert error or success.

    
This function will have test case to validate polygon class
Returns

assert error or success.
This function will have test case to validate polygon class Returns assert error or success .
def validate_polygon_seq():
    polygon_vertices = [10,50,30,40,20]
    polygon_vertices_25 = [k for k in range(1,26)]
    circumradius = 30
    polygonsequencecustom = PolygonSequence()
    polygon_vertices_25Custom = PolygonSequence(polygon_vertices_25,
                                                circumradius)
    assert (polygonsequencecustom.callc_max_effcncy() == 50)
    assert (polygon_vertices_25Custom.callc_max_effcncy() == 25)
    assert (polygon_vertices_25Custom.__len__() == 25)
    assert len(polygon_vertices_25Custom.__repr__()) > 0  
    assert (polygonsequencecustom[3] == 40)
def validate_polygon_seq ( ) : polygon_vertices = [ 10 , 50 , 30 , 40 , 20 ] polygon_vertices_25 = [ k for k in range ( 1 , 26 ) ] circumradius = 30 polygonsequencecustom = PolygonSequence ( ) polygon_vertices_25Custom = PolygonSequence ( polygon_vertices_25 , circumradius ) assert ( polygonsequencecustom . callc_max_effcncy ( ) == 50 ) assert ( polygon_vertices_25Custom . callc_max_effcncy ( ) == 25 ) assert ( polygon_vertices_25Custom . __len__ ( ) == 25 ) assert len ( polygon_vertices_25Custom . __repr__ ( ) ) > 0 assert ( polygonsequencecustom [ 3 ] == 40 )
This function will have test case to validate polygon class
Returns
This function will have test case to validate polygon class Returns
"""
    This function will have test case to validate polygon class

    Returns
    -------
    assert error or success.

    """ ## test case to validate it returns proper value #print(polygon_vertices_25Custom.__getitem__("max_efficiency_list"))