Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- deadeye@nexus ~ $ python test_seq.py
- Testing function: safe_adv_range
- -----------
- Testing: 1-5,7,9,10-13
- [1, 2, 3, 4, 5, 7, 9, 10, 11, 12, 13]
- -----------
- Testing: 5, 10-6, 4-8,3
- [3, 4, 5, 6, 7, 8, 9, 10]
- -----------
- Testing: 1023,675,43, 23400-23395, 5-12
- [5, 6, 7, 8, 9, 10, 11, 12, 43, 675, 1023, 23395, 23396, 23397, 23398, 23399, 23400]
- -----------
- Testing: 1, 3 -5, 6-, -, 7, -9 , 16 - 20,23
- [1, 3, 4, 5, 7, 16, 17, 18, 19, 20, 23]
- -----------
- Testing: 2, 4, num, ;5, a-b
- [2, 4]
- -----------
- deadeye@nexus ~ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement