from algorithms.insertionSort import insertionSort


def test_insertionSort():
    alist = [4, 6, 8, 7, 5, 1, 2, 3, 9]
    insertionSort(alist)
    assert alist == [1, 2, 3, 4, 5, 6, 7, 8, 9]

from algorithms.insertionSort import insertionSort


def test_insertionSort():
    alist = [4, 6, 8, 7, 5, 1, 2, 3, 9]
    insertionSort(alist)
    assert alist == [1, 2, 3, 4, 5, 6, 7, 8, 9]
