예제 #1
0
def test_sorted_classes_with_reverse(items):
    assert sorted_classes(items, reverse=True) == [A5, A4, A3, A2, A]
예제 #2
0
def test_sorted_classes_with_reverse(items):
    assert sorted_classes(items, reverse=True) == [A5, A4, A3, A2, A]
예제 #3
0
def test_sorted_classes_without_reverse(items):
    assert sorted_classes(items) == [A, A2, A3, A4, A5]
예제 #4
0
def test_sorted_classes_without_reverse(items):
    assert sorted_classes(items) == [A, A2, A3, A4, A5]