#!/usr/bin/python3
'''
This file contains external tests associated with `print_sorted` function.
First, import the function from `1-my_list` module.

    >>> MyList = __import__("1-my_list").MyList

    >>> mylist = MyList()

Now, use the imported function to test:


Valid argument of unsorted int list
    >>> MyList.print_sorted([1, 4, 2, 3, 5])
    [1, 2, 3, 4, 5]

Valid argument of sorted int list
    >>> MyList.print_sorted([1, 2, 3, 4, 5])
    [1, 2, 3, 4, 5]

Empty list
    >>> MyList.print_sorted([])
    []

List with 1 element
    >>> MyList.print_sorted([9])
    [9]

List with all 0's as elements of the list
    >>> MyList.print_sorted([0, 0 , 0, 0])
    [0, 0, 0, 0]

List with negative and positive elements
    >>> MyList.print_sorted([1, -2, -3, 0])
    [-3, -2, 0, 1]

List with repitetive elements
    >>> MyList.print_sorted([1, 2, -3, -3, 3, 3])
    [-3, -3, 1, 2, 3, 3]

Append to instance of Mylist
    >>> mylist.append(1)
    >>> mylist.append(3)
    >>> mylist.append(2)
    >>> print(mylist)
    [1, 3, 2]
    >>> mylist.print_sorted()
    [1, 2, 3]
    >>> print(mylist)
    [1, 3, 2]

'''
