def test_sequencetools_is_strictly_decreasing_sequence_02(): r'''False when the elements in l do not decrease strictly. ''' l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] assert not sequencetools.is_strictly_decreasing_sequence(l) l = [0, 1, 2, 3, 3, 3, 3, 3, 3, 3] assert not sequencetools.is_strictly_decreasing_sequence(l) l = [3, 3, 3, 3, 3, 3, 3, 2, 1, 0] assert not sequencetools.is_strictly_decreasing_sequence(l)
def test_sequencetools_is_strictly_decreasing_sequence_01(): r'''True when the elements in l decrease strictly. ''' l = [9, 8, 7, 6, 5, 4, 3, 2, 1, 0] assert sequencetools.is_strictly_decreasing_sequence(l)
def test_sequencetools_is_strictly_decreasing_sequence_04(): r'''False when expr is not a sequence. ''' assert not sequencetools.is_strictly_decreasing_sequence(17)
def test_sequencetools_is_strictly_decreasing_sequence_03(): r'''True when l is empty. ''' l = [] assert sequencetools.is_strictly_decreasing_sequence(l)