@Test
public void remove() throws Exception {
ArrayDeque deque = create();
assert deque.remove("1");
assert deque.size() == 3;
assert deque.peekFirst().equals("2");
assert deque.remove("4");
assert deque.size() == 2;
assert deque.peekLast().equals("3");
}