“remove_first_to_empty”: Add some elements to a deque and remove almost all of them. Check that removing the last element with removeFirst works.
“remove_last_to_empty”: Add some elements to a deque and remove almost all of them. Check that removing the last element with removeLast works.
“remove_first_to_one”: Add some elements to a deque and remove almost all of them. Check that removing the second to last element with removeFirst works.
“remove_last_to_one”: Add some elements to a deque and remove almost all of them. Check that removing the second to last element with removeLast works.