import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * Die Test-Klasse QueueTester.
 *
 * @author  Rainer Helfrich
 * @version Oktober 2020
 */
public abstract class QueueTester
{
    protected Queue<Integer> theQueue;

    @Test
    public void test01()
    {
        Integer tmp;
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(25);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        theQueue.enqueue(77);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        theQueue.enqueue(621);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        theQueue.enqueue(672);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        theQueue.enqueue(601);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        theQueue.enqueue(975);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        theQueue.enqueue(254);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        theQueue.enqueue(385);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        theQueue.enqueue(493);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        theQueue.enqueue(322);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        theQueue.enqueue(581);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        theQueue.enqueue(432);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(25,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(25,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(77,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(77,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(621,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(672,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(601,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(975,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(254,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(385,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(493,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(322,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(581,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(432,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(979);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(979,theQueue.front().intValue());
        theQueue.enqueue(301);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(979,theQueue.front().intValue());
        theQueue.enqueue(352);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(979,theQueue.front().intValue());
        theQueue.enqueue(533);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(979,theQueue.front().intValue());
        theQueue.enqueue(146);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(979,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(979,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(301,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(352,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(533,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(146,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(406);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(406,theQueue.front().intValue());
        theQueue.enqueue(786);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(406,theQueue.front().intValue());
        theQueue.enqueue(897);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(406,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(406,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(786,theQueue.front().intValue());
        theQueue.enqueue(241);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(786,theQueue.front().intValue());
        theQueue.enqueue(924);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(786,theQueue.front().intValue());
        theQueue.enqueue(999);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(786,theQueue.front().intValue());
        theQueue.enqueue(808);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(786,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(786,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(897,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(241,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(924,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(999,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(808,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(47);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(47,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(47,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(312);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(312,theQueue.front().intValue());
        theQueue.enqueue(498);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(312,theQueue.front().intValue());
        theQueue.enqueue(551);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(312,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(312,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(498,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(551,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(69);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(69,theQueue.front().intValue());
        theQueue.enqueue(863);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(69,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(69,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(863,theQueue.front().intValue());
        theQueue.enqueue(924);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(863,theQueue.front().intValue());
        theQueue.enqueue(615);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(863,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(863,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(924,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(924,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(615,theQueue.front().intValue());
        theQueue.enqueue(281);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(615,theQueue.front().intValue());
        theQueue.enqueue(293);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(615,theQueue.front().intValue());
        theQueue.enqueue(928);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(615,theQueue.front().intValue());
        theQueue.enqueue(86);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(615,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(615,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(281,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(293,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(928,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(86,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(483);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(483,theQueue.front().intValue());
        theQueue.enqueue(100);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(483,theQueue.front().intValue());
        theQueue.enqueue(899);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(483,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(483,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(100,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(899,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(340);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(340,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(340,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(13);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(13,theQueue.front().intValue());
        theQueue.enqueue(596);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(13,theQueue.front().intValue());
        theQueue.enqueue(950);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(13,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(13,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(596,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(950,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(169);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(169,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(169,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(52);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(52,theQueue.front().intValue());
        theQueue.enqueue(574);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(52,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(52,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(574,theQueue.front().intValue());
        theQueue.enqueue(792);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(574,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(574,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(792,theQueue.front().intValue());
        theQueue.enqueue(678);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(792,theQueue.front().intValue());
        theQueue.enqueue(348);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(792,theQueue.front().intValue());
        theQueue.enqueue(597);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(792,theQueue.front().intValue());
        theQueue.enqueue(597);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(792,theQueue.front().intValue());
        theQueue.enqueue(632);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(792,theQueue.front().intValue());
        theQueue.enqueue(578);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(792,theQueue.front().intValue());
        theQueue.enqueue(924);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(792,theQueue.front().intValue());
        theQueue.enqueue(480);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(792,theQueue.front().intValue());
        theQueue.enqueue(682);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(792,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(792,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(678,theQueue.front().intValue());
        theQueue.enqueue(276);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(678,theQueue.front().intValue());
        theQueue.enqueue(731);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(678,theQueue.front().intValue());
        theQueue.enqueue(941);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(678,theQueue.front().intValue());
        theQueue.enqueue(55);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(678,theQueue.front().intValue());
        theQueue.enqueue(897);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(678,theQueue.front().intValue());
        theQueue.enqueue(864);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(678,theQueue.front().intValue());
        theQueue.enqueue(640);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(678,theQueue.front().intValue());
        theQueue.enqueue(571);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(678,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(678,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(348,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(597,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(597,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(632,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(578,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(924,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(480,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(682,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(276,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(731,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(941,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(55,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(897,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(864,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(640,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(571,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(940);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(940,theQueue.front().intValue());
        theQueue.enqueue(926);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(940,theQueue.front().intValue());
        theQueue.enqueue(388);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(940,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(940,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(926,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(388,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(869);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(869,theQueue.front().intValue());
        theQueue.enqueue(109);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(869,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(869,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(109,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(109,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(33);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(33,theQueue.front().intValue());
        theQueue.enqueue(711);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(33,theQueue.front().intValue());
        theQueue.enqueue(253);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(33,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(33,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(711,theQueue.front().intValue());
        theQueue.enqueue(280);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(711,theQueue.front().intValue());
        theQueue.enqueue(899);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(711,theQueue.front().intValue());
        theQueue.enqueue(453);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(711,theQueue.front().intValue());
    }

    @Test
    public void test02()
    {
        Integer tmp;
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(295);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(295,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(295,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(6);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(6,theQueue.front().intValue());
        theQueue.enqueue(954);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(6,theQueue.front().intValue());
        theQueue.enqueue(907);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(6,theQueue.front().intValue());
        theQueue.enqueue(857);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(6,theQueue.front().intValue());
        theQueue.enqueue(164);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(6,theQueue.front().intValue());
        theQueue.enqueue(668);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(6,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(6,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(954,theQueue.front().intValue());
        theQueue.enqueue(869);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(954,theQueue.front().intValue());
        theQueue.enqueue(483);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(954,theQueue.front().intValue());
        theQueue.enqueue(353);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(954,theQueue.front().intValue());
        theQueue.enqueue(83);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(954,theQueue.front().intValue());
        theQueue.enqueue(730);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(954,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(954,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(907,theQueue.front().intValue());
        theQueue.enqueue(766);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(907,theQueue.front().intValue());
        theQueue.enqueue(405);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(907,theQueue.front().intValue());
        theQueue.enqueue(791);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(907,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(907,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(857,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(857,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(164,theQueue.front().intValue());
        theQueue.enqueue(503);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(164,theQueue.front().intValue());
        theQueue.enqueue(899);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(164,theQueue.front().intValue());
        theQueue.enqueue(880);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(164,theQueue.front().intValue());
        theQueue.enqueue(845);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(164,theQueue.front().intValue());
        theQueue.enqueue(137);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(164,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(164,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(668,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(668,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(869,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(869,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(483,theQueue.front().intValue());
        theQueue.enqueue(889);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(483,theQueue.front().intValue());
        theQueue.enqueue(461);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(483,theQueue.front().intValue());
        theQueue.enqueue(143);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(483,theQueue.front().intValue());
        theQueue.enqueue(242);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(483,theQueue.front().intValue());
        theQueue.enqueue(986);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(483,theQueue.front().intValue());
        theQueue.enqueue(491);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(483,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(483,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(353,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(83,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(730,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(766,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(405,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(791,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(503,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(899,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(880,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(845,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(137,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(889,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(461,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(143,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(242,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(986,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(491,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(35);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(35,theQueue.front().intValue());
        theQueue.enqueue(473);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(35,theQueue.front().intValue());
        theQueue.enqueue(870);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(35,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(35,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(473,theQueue.front().intValue());
        theQueue.enqueue(332);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(473,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(473,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(870,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(870,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(332,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(851);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(851,theQueue.front().intValue());
        theQueue.enqueue(752);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(851,theQueue.front().intValue());
        theQueue.enqueue(756);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(851,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(851,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(752,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(756,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(970);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(970,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(970,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(227);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(227,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(227,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(453);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(453,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(453,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(584);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(584,theQueue.front().intValue());
        theQueue.enqueue(882);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(584,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(584,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(882,theQueue.front().intValue());
        theQueue.enqueue(134);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(882,theQueue.front().intValue());
        theQueue.enqueue(514);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(882,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(882,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(134,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(134,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(514,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(79);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(79,theQueue.front().intValue());
        theQueue.enqueue(990);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(79,theQueue.front().intValue());
        theQueue.enqueue(574);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(79,theQueue.front().intValue());
        theQueue.enqueue(146);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(79,theQueue.front().intValue());
        theQueue.enqueue(967);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(79,theQueue.front().intValue());
        theQueue.enqueue(597);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(79,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(79,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(990,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(990,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(574,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(146,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(967,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(597,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(725);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(725,theQueue.front().intValue());
        theQueue.enqueue(482);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(725,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(725,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(482,theQueue.front().intValue());
        theQueue.enqueue(662);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(482,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(482,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(662,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(662,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(482);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(482,theQueue.front().intValue());
        theQueue.enqueue(643);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(482,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(482,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(643,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(862);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(862,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(862,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(573);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(573,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(573,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(845);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(845,theQueue.front().intValue());
        theQueue.enqueue(109);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(845,theQueue.front().intValue());
        theQueue.enqueue(326);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(845,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(845,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(109,theQueue.front().intValue());
        theQueue.enqueue(404);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(109,theQueue.front().intValue());
        theQueue.enqueue(398);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(109,theQueue.front().intValue());
        theQueue.enqueue(251);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(109,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(109,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(326,theQueue.front().intValue());
        theQueue.enqueue(836);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(326,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(326,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(404,theQueue.front().intValue());
        theQueue.enqueue(71);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(404,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(404,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(398,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(398,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(251,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(836,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(71,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(166);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(166,theQueue.front().intValue());
        theQueue.enqueue(642);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(166,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(166,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(642,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(642,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(690);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(690,theQueue.front().intValue());
    }

    @Test
    public void test03()
    {
        Integer tmp;
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(474);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(474,theQueue.front().intValue());
        theQueue.enqueue(708);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(474,theQueue.front().intValue());
        theQueue.enqueue(120);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(474,theQueue.front().intValue());
        theQueue.enqueue(368);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(474,theQueue.front().intValue());
        theQueue.enqueue(844);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(474,theQueue.front().intValue());
        theQueue.enqueue(816);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(474,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(474,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(708,theQueue.front().intValue());
        theQueue.enqueue(100);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(708,theQueue.front().intValue());
        theQueue.enqueue(497);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(708,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(708,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(120,theQueue.front().intValue());
        theQueue.enqueue(491);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(120,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(120,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(368,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(368,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(844,theQueue.front().intValue());
        theQueue.enqueue(504);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(844,theQueue.front().intValue());
        theQueue.enqueue(647);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(844,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(844,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(816,theQueue.front().intValue());
        theQueue.enqueue(219);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(816,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(816,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(100,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(497,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(491,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(504,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(647,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(219,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(474);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(474,theQueue.front().intValue());
        theQueue.enqueue(328);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(474,theQueue.front().intValue());
        theQueue.enqueue(429);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(474,theQueue.front().intValue());
        theQueue.enqueue(890);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(474,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(474,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(328,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(429,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(890,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(863);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(863,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(863,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(426);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(426,theQueue.front().intValue());
        theQueue.enqueue(699);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(426,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(426,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(699,theQueue.front().intValue());
        theQueue.enqueue(988);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(699,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(699,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(988,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(564);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(564,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(564,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(912);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(912,theQueue.front().intValue());
        theQueue.enqueue(0);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(912,theQueue.front().intValue());
        theQueue.enqueue(906);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(912,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(912,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(0,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(0,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(906,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(197);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(197,theQueue.front().intValue());
        theQueue.enqueue(940);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(197,theQueue.front().intValue());
        theQueue.enqueue(229);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(197,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(197,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(940,theQueue.front().intValue());
        theQueue.enqueue(231);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(940,theQueue.front().intValue());
        theQueue.enqueue(722);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(940,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(940,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        theQueue.enqueue(68);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        theQueue.enqueue(977);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        theQueue.enqueue(294);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        theQueue.enqueue(670);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        theQueue.enqueue(494);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        theQueue.enqueue(243);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        theQueue.enqueue(169);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        theQueue.enqueue(159);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        theQueue.enqueue(189);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        theQueue.enqueue(623);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        theQueue.enqueue(564);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(229,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(229,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(231,theQueue.front().intValue());
        theQueue.enqueue(544);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(231,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(231,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(722,theQueue.front().intValue());
        theQueue.enqueue(922);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(722,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(722,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(68,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(68,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(977,theQueue.front().intValue());
        theQueue.enqueue(237);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(977,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(977,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(294,theQueue.front().intValue());
        theQueue.enqueue(515);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(294,theQueue.front().intValue());
        theQueue.enqueue(886);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(294,theQueue.front().intValue());
        theQueue.enqueue(930);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(294,theQueue.front().intValue());
        theQueue.enqueue(874);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(294,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(294,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(670,theQueue.front().intValue());
        theQueue.enqueue(144);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(670,theQueue.front().intValue());
        theQueue.enqueue(185);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(670,theQueue.front().intValue());
        theQueue.enqueue(796);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(670,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(670,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(494,theQueue.front().intValue());
        theQueue.enqueue(833);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(494,theQueue.front().intValue());
        theQueue.enqueue(395);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(494,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(494,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(243,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(243,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(169,theQueue.front().intValue());
        theQueue.enqueue(909);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(169,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(169,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(159,theQueue.front().intValue());
        theQueue.enqueue(679);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(159,theQueue.front().intValue());
        theQueue.enqueue(940);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(159,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(159,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(189,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(189,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(623,theQueue.front().intValue());
        theQueue.enqueue(831);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(623,theQueue.front().intValue());
        theQueue.enqueue(654);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(623,theQueue.front().intValue());
        theQueue.enqueue(5);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(623,theQueue.front().intValue());
        theQueue.enqueue(275);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(623,theQueue.front().intValue());
        theQueue.enqueue(675);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(623,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(623,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(564,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(544,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(922,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(237,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(515,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(886,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(930,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(874,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(144,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(185,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(796,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(833,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(395,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(909,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(679,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(940,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(831,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(654,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(5,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(275,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(675,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(383);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(383,theQueue.front().intValue());
        theQueue.enqueue(974);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(383,theQueue.front().intValue());
        theQueue.enqueue(99);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(383,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(383,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(974,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(99,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(635);
        assertFalse(theQueue.isEmpty());

        assertNotNull(theQueue.front());
        assertEquals(635,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(635,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(504);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(504,theQueue.front().intValue());
        theQueue.enqueue(896);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(504,theQueue.front().intValue());
        theQueue.enqueue(77);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(504,theQueue.front().intValue());
        theQueue.enqueue(312);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(504,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(504,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(896,theQueue.front().intValue());
    }

    @Test
    public void test04()
    {
        Integer tmp;
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(723);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(723,theQueue.front().intValue());
        theQueue.enqueue(537);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(723,theQueue.front().intValue());
        theQueue.enqueue(78);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(723,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(723,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(537,theQueue.front().intValue());
        theQueue.enqueue(386);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(537,theQueue.front().intValue());
        theQueue.enqueue(483);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(537,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(537,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(78,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(386,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(483,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(569);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(569,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(569,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(906);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(906,theQueue.front().intValue());
        theQueue.enqueue(192);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(906,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(906,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(192,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(665);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(665,theQueue.front().intValue());
        theQueue.enqueue(398);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(665,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(665,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(398,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(398,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(23);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(23,theQueue.front().intValue());
        theQueue.enqueue(970);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(23,theQueue.front().intValue());
        theQueue.enqueue(656);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(23,theQueue.front().intValue());
        theQueue.enqueue(235);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(23,theQueue.front().intValue());
        theQueue.enqueue(797);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(23,theQueue.front().intValue());
        theQueue.enqueue(210);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(23,theQueue.front().intValue());
        theQueue.enqueue(59);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(23,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(23,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(970,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(656,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(235,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(797,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(210,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(59,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(506);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(506,theQueue.front().intValue());
        theQueue.enqueue(938);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(506,theQueue.front().intValue());
        theQueue.enqueue(135);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(506,theQueue.front().intValue());
        theQueue.enqueue(126);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(506,theQueue.front().intValue());
        theQueue.enqueue(573);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(506,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(506,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(938,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(938,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(135,theQueue.front().intValue());
        theQueue.enqueue(920);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(135,theQueue.front().intValue());
        theQueue.enqueue(412);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(135,theQueue.front().intValue());
        theQueue.enqueue(5);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(135,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(135,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(126,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(126,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(573,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(920,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(412,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(5,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(145);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(145,theQueue.front().intValue());
        theQueue.enqueue(616);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(145,theQueue.front().intValue());
        theQueue.enqueue(885);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(145,theQueue.front().intValue());
        theQueue.enqueue(74);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(145,theQueue.front().intValue());
        theQueue.enqueue(843);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(145,theQueue.front().intValue());
        theQueue.enqueue(926);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(145,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(145,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(616,theQueue.front().intValue());
        theQueue.enqueue(520);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(616,theQueue.front().intValue());
        theQueue.enqueue(24);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(616,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(616,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(885,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(74,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(843,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(926,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(520,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(24,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(898);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(898,theQueue.front().intValue());
        theQueue.enqueue(547);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(898,theQueue.front().intValue());
        theQueue.enqueue(621);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(898,theQueue.front().intValue());
        theQueue.enqueue(170);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(898,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(898,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(547,theQueue.front().intValue());
        theQueue.enqueue(537);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(547,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(547,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(621,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(621,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(170,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(537,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(936);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(936,theQueue.front().intValue());
        theQueue.enqueue(239);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(936,theQueue.front().intValue());
        theQueue.enqueue(909);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(936,theQueue.front().intValue());
        theQueue.enqueue(114);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(936,theQueue.front().intValue());
        theQueue.enqueue(165);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(936,theQueue.front().intValue());
        theQueue.enqueue(420);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(936,theQueue.front().intValue());
        theQueue.enqueue(362);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(936,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(936,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(239,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(909,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(114,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(165,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(420,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(362,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(344);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(344,theQueue.front().intValue());
        theQueue.enqueue(284);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(344,theQueue.front().intValue());
        theQueue.enqueue(292);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(344,theQueue.front().intValue());
        theQueue.enqueue(572);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(344,theQueue.front().intValue());
        theQueue.enqueue(306);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(344,theQueue.front().intValue());
        theQueue.enqueue(557);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(344,theQueue.front().intValue());
        theQueue.enqueue(321);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(344,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(344,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(284,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(292,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(572,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(306,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(557,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(321,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(605);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(605,theQueue.front().intValue());
        theQueue.enqueue(387);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(605,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(605,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(387,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(387,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(509);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(509,theQueue.front().intValue());
        theQueue.enqueue(498);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(509,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(509,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(498,theQueue.front().intValue());
        theQueue.enqueue(374);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(498,theQueue.front().intValue());
        theQueue.enqueue(421);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(498,theQueue.front().intValue());
        theQueue.enqueue(604);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(498,theQueue.front().intValue());
        theQueue.enqueue(555);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(498,theQueue.front().intValue());
        theQueue.enqueue(1);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(498,theQueue.front().intValue());
        theQueue.enqueue(881);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(498,theQueue.front().intValue());
        theQueue.enqueue(372);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(498,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(498,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(374,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(374,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(421,theQueue.front().intValue());
        theQueue.enqueue(685);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(421,theQueue.front().intValue());
        theQueue.enqueue(187);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(421,theQueue.front().intValue());
        theQueue.enqueue(498);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(421,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(421,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(604,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(604,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(555,theQueue.front().intValue());
        theQueue.enqueue(659);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(555,theQueue.front().intValue());
        theQueue.enqueue(62);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(555,theQueue.front().intValue());
        theQueue.enqueue(868);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(555,theQueue.front().intValue());
        theQueue.enqueue(34);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(555,theQueue.front().intValue());
        theQueue.enqueue(799);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(555,theQueue.front().intValue());
    }

    @Test
    public void test05()
    {
        Integer tmp;
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(302);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(302,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(302,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(376);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(376,theQueue.front().intValue());
        theQueue.enqueue(858);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(376,theQueue.front().intValue());
        theQueue.enqueue(488);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(376,theQueue.front().intValue());
        theQueue.enqueue(673);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(376,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(376,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(858,theQueue.front().intValue());
        theQueue.enqueue(374);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(858,theQueue.front().intValue());
        theQueue.enqueue(557);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(858,theQueue.front().intValue());
        theQueue.enqueue(766);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(858,theQueue.front().intValue());
        theQueue.enqueue(914);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(858,theQueue.front().intValue());
        theQueue.enqueue(447);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(858,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(858,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(488,theQueue.front().intValue());
        theQueue.enqueue(564);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(488,theQueue.front().intValue());
        theQueue.enqueue(390);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(488,theQueue.front().intValue());
        theQueue.enqueue(892);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(488,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(488,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(434);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(96);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(642);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(144);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(664);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(751);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(492);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(339);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(801);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(244);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(806);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(612);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        theQueue.enqueue(511);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(673,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(673,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(374,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(557,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(766,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(914,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(447,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(564,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(390,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(892,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(434,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(96,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(642,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(144,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(664,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(751,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(492,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(339,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(801,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(244,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(806,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(612,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(511,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(821);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(821,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(821,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(564);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(564,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(564,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(60);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(60,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(60,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(514);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(514,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(514,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(727);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(727,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(727,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(377);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(377,theQueue.front().intValue());
        theQueue.enqueue(846);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(377,theQueue.front().intValue());
        theQueue.enqueue(990);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(377,theQueue.front().intValue());
        theQueue.enqueue(904);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(377,theQueue.front().intValue());
        theQueue.enqueue(271);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(377,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(377,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(846,theQueue.front().intValue());
        theQueue.enqueue(732);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(846,theQueue.front().intValue());
        theQueue.enqueue(37);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(846,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(846,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(990,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(904,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(271,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(732,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(37,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(967);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(967,theQueue.front().intValue());
        theQueue.enqueue(62);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(967,theQueue.front().intValue());
        theQueue.enqueue(661);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(967,theQueue.front().intValue());
        theQueue.enqueue(139);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(967,theQueue.front().intValue());
        theQueue.enqueue(924);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(967,theQueue.front().intValue());
        theQueue.enqueue(106);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(967,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(967,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(62,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(62,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(661,theQueue.front().intValue());
        theQueue.enqueue(64);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(661,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(661,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(139,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(924,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(106,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(64,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(848);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(848,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(848,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(864);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(864,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(864,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(864);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(864,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(864,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(804);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(804,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(804,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(37);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(37,theQueue.front().intValue());
        theQueue.enqueue(909);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(37,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(37,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(909,theQueue.front().intValue());
        theQueue.enqueue(510);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(909,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(909,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(510,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(706);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(706,theQueue.front().intValue());
        theQueue.enqueue(978);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(706,theQueue.front().intValue());
        theQueue.enqueue(769);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(706,theQueue.front().intValue());
        theQueue.enqueue(863);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(706,theQueue.front().intValue());
        theQueue.enqueue(516);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(706,theQueue.front().intValue());
        theQueue.enqueue(783);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(706,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(706,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(978,theQueue.front().intValue());
        theQueue.enqueue(276);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(978,theQueue.front().intValue());
        theQueue.enqueue(74);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(978,theQueue.front().intValue());
        theQueue.enqueue(311);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(978,theQueue.front().intValue());
        theQueue.enqueue(350);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(978,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(978,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(769,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(863,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(516,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(783,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(276,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(74,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(311,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(350,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(773);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(773,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(773,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(424);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(424,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(424,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(416);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(416,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(416,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(420);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(420,theQueue.front().intValue());
        theQueue.enqueue(837);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(420,theQueue.front().intValue());
        theQueue.enqueue(319);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(420,theQueue.front().intValue());
        theQueue.enqueue(879);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(420,theQueue.front().intValue());
        theQueue.enqueue(142);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(420,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(420,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(837,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(837,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(319,theQueue.front().intValue());
        theQueue.enqueue(464);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(319,theQueue.front().intValue());
    }

    @Test
    public void test06()
    {
        Integer tmp;
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(212);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(212,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(212,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(555);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(555,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(555,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(721);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(721,theQueue.front().intValue());
        theQueue.enqueue(205);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(721,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(721,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(205,theQueue.front().intValue());
        theQueue.enqueue(896);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(205,theQueue.front().intValue());
        theQueue.enqueue(667);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(205,theQueue.front().intValue());
        theQueue.enqueue(343);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(205,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(205,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(896,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(896,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(667,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(343,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(932);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(932,theQueue.front().intValue());
        theQueue.enqueue(834);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(932,theQueue.front().intValue());
        theQueue.enqueue(580);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(932,theQueue.front().intValue());
        theQueue.enqueue(120);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(932,theQueue.front().intValue());
        theQueue.enqueue(622);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(932,theQueue.front().intValue());
        theQueue.enqueue(219);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(932,theQueue.front().intValue());
        theQueue.enqueue(133);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(932,theQueue.front().intValue());
        theQueue.enqueue(902);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(932,theQueue.front().intValue());
        theQueue.enqueue(857);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(932,theQueue.front().intValue());
        theQueue.enqueue(898);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(932,theQueue.front().intValue());
        theQueue.enqueue(505);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(932,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(932,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(834,theQueue.front().intValue());
        theQueue.enqueue(156);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(834,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(834,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(580,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(120,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(622,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(219,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(133,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(902,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(857,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(898,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(505,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(156,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(431);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(431,theQueue.front().intValue());
        theQueue.enqueue(578);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(431,theQueue.front().intValue());
        theQueue.enqueue(611);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(431,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(431,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(578,theQueue.front().intValue());
        theQueue.enqueue(542);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(578,theQueue.front().intValue());
        theQueue.enqueue(838);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(578,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(578,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(611,theQueue.front().intValue());
        theQueue.enqueue(237);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(611,theQueue.front().intValue());
        theQueue.enqueue(387);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(611,theQueue.front().intValue());
        theQueue.enqueue(946);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(611,theQueue.front().intValue());
        theQueue.enqueue(311);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(611,theQueue.front().intValue());
        theQueue.enqueue(404);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(611,theQueue.front().intValue());
        theQueue.enqueue(800);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(611,theQueue.front().intValue());
        theQueue.enqueue(433);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(611,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(611,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(542,theQueue.front().intValue());
        theQueue.enqueue(215);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(542,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(542,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(838,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(838,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(237,theQueue.front().intValue());
        theQueue.enqueue(542);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(237,theQueue.front().intValue());
        theQueue.enqueue(424);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(237,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(237,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(387,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(946,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(311,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(404,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(800,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(433,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(215,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(542,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(424,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(991);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(991,theQueue.front().intValue());
        theQueue.enqueue(204);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(991,theQueue.front().intValue());
        theQueue.enqueue(695);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(991,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(991,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(204,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(695,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(6);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(6,theQueue.front().intValue());
        theQueue.enqueue(51);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(6,theQueue.front().intValue());
        theQueue.enqueue(261);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(6,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(6,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(51,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(261,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(753);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(753,theQueue.front().intValue());
        theQueue.enqueue(292);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(753,theQueue.front().intValue());
        theQueue.enqueue(34);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(753,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(753,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(292,theQueue.front().intValue());
        theQueue.enqueue(744);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(292,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(292,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(34,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(34,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(744,theQueue.front().intValue());
        theQueue.enqueue(790);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(744,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(744,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(790,theQueue.front().intValue());
        theQueue.enqueue(579);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(790,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(790,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(579,theQueue.front().intValue());
        theQueue.enqueue(906);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(579,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(579,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(906,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(335);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(335,theQueue.front().intValue());
        theQueue.enqueue(460);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(335,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(335,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(460,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(614);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(614,theQueue.front().intValue());
        theQueue.enqueue(874);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(614,theQueue.front().intValue());
        theQueue.enqueue(375);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(614,theQueue.front().intValue());
        theQueue.enqueue(908);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(614,theQueue.front().intValue());
        theQueue.enqueue(651);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(614,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(614,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(874,theQueue.front().intValue());
        theQueue.enqueue(356);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(874,theQueue.front().intValue());
        theQueue.enqueue(661);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(874,theQueue.front().intValue());
        theQueue.enqueue(113);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(874,theQueue.front().intValue());
        theQueue.enqueue(200);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(874,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(874,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(375,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(908,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(651,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(356,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(661,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(113,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(200,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(598);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
        theQueue.enqueue(29);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
        theQueue.enqueue(960);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
        theQueue.enqueue(147);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
        theQueue.enqueue(713);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
        theQueue.enqueue(820);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(598,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(29,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(960,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(147,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(713,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(820,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(562);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(562,theQueue.front().intValue());
        theQueue.enqueue(411);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(562,theQueue.front().intValue());
        theQueue.enqueue(399);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(562,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(562,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(411,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(399,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(334);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(334,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(334,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(778);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(778,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(778,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(386);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(386,theQueue.front().intValue());
        theQueue.enqueue(613);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(386,theQueue.front().intValue());
    }

    @Test
    public void test07()
    {
        Integer tmp;
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(642);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(642,theQueue.front().intValue());
        theQueue.enqueue(189);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(642,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(642,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(189,theQueue.front().intValue());
        theQueue.enqueue(68);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(189,theQueue.front().intValue());
        theQueue.enqueue(533);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(189,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(189,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(68,theQueue.front().intValue());
        theQueue.enqueue(4);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(68,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(68,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(533,theQueue.front().intValue());
        theQueue.enqueue(533);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(533,theQueue.front().intValue());
        theQueue.enqueue(747);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(533,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(533,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(4,theQueue.front().intValue());
        theQueue.enqueue(345);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(4,theQueue.front().intValue());
        theQueue.enqueue(370);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(4,theQueue.front().intValue());
        theQueue.enqueue(531);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(4,theQueue.front().intValue());
        theQueue.enqueue(217);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(4,theQueue.front().intValue());
        theQueue.enqueue(569);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(4,theQueue.front().intValue());
        theQueue.enqueue(902);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(4,theQueue.front().intValue());
        theQueue.enqueue(712);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(4,theQueue.front().intValue());
        theQueue.enqueue(569);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(4,theQueue.front().intValue());
        theQueue.enqueue(852);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(4,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(4,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(533,theQueue.front().intValue());
        theQueue.enqueue(27);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(533,theQueue.front().intValue());
        theQueue.enqueue(833);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(533,theQueue.front().intValue());
        theQueue.enqueue(839);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(533,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(533,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(747,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(345,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(370,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(531,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(217,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(569,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(902,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(712,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(569,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(852,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(27,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(833,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(839,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(152);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(152,theQueue.front().intValue());
        theQueue.enqueue(646);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(152,theQueue.front().intValue());
        theQueue.enqueue(405);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(152,theQueue.front().intValue());
        theQueue.enqueue(226);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(152,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(152,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(646,theQueue.front().intValue());
        theQueue.enqueue(66);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(646,theQueue.front().intValue());
        theQueue.enqueue(206);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(646,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(646,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(405,theQueue.front().intValue());
        theQueue.enqueue(495);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(405,theQueue.front().intValue());
        theQueue.enqueue(152);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(405,theQueue.front().intValue());
        theQueue.enqueue(454);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(405,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(405,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(226,theQueue.front().intValue());
        theQueue.enqueue(483);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(226,theQueue.front().intValue());
        theQueue.enqueue(331);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(226,theQueue.front().intValue());
        theQueue.enqueue(736);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(226,theQueue.front().intValue());
        theQueue.enqueue(627);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(226,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(226,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(66,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(206,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(495,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(152,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(454,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(483,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(331,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(736,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(627,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(350);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(350,theQueue.front().intValue());
        theQueue.enqueue(37);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(350,theQueue.front().intValue());
        theQueue.enqueue(277);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(350,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(350,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(37,theQueue.front().intValue());
        theQueue.enqueue(667);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(37,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(37,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(277,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(667,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(712);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(712,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(712,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(566);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(566,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(566,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(853);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(853,theQueue.front().intValue());
        theQueue.enqueue(12);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(853,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(853,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(12,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(179);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(179,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(179,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(767);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(767,theQueue.front().intValue());
        theQueue.enqueue(927);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(767,theQueue.front().intValue());
        theQueue.enqueue(397);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(767,theQueue.front().intValue());
        theQueue.enqueue(961);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(767,theQueue.front().intValue());
        theQueue.enqueue(423);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(767,theQueue.front().intValue());
        theQueue.enqueue(781);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(767,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(767,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(927,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(397,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(961,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(423,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(781,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(555);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(555,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(555,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(634);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(634,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(634,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(525);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(525,theQueue.front().intValue());
        theQueue.enqueue(185);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(525,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(525,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(185,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(832);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(832,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(832,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(52);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(52,theQueue.front().intValue());
        theQueue.enqueue(307);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(52,theQueue.front().intValue());
        theQueue.enqueue(306);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(52,theQueue.front().intValue());
        theQueue.enqueue(837);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(52,theQueue.front().intValue());
        theQueue.enqueue(902);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(52,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(52,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(307,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(306,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(837,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(902,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(945);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(945,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(945,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(178);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(178,theQueue.front().intValue());
        theQueue.enqueue(483);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(178,theQueue.front().intValue());
        theQueue.enqueue(107);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(178,theQueue.front().intValue());
        theQueue.enqueue(606);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(178,theQueue.front().intValue());
        theQueue.enqueue(452);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(178,theQueue.front().intValue());
        theQueue.enqueue(973);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(178,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(178,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(483,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(107,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(606,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(452,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(973,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(635);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(635,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(635,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(391);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(391,theQueue.front().intValue());
        theQueue.enqueue(311);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(391,theQueue.front().intValue());
        theQueue.enqueue(989);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(391,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(391,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(311,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(311,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(989,theQueue.front().intValue());
        theQueue.enqueue(856);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(989,theQueue.front().intValue());
    }

    @Test
    public void test08()
    {
        Integer tmp;
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(493);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(493,theQueue.front().intValue());
        theQueue.enqueue(288);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(493,theQueue.front().intValue());
        theQueue.enqueue(72);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(493,theQueue.front().intValue());
        theQueue.enqueue(576);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(493,theQueue.front().intValue());
        theQueue.enqueue(26);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(493,theQueue.front().intValue());
        theQueue.enqueue(502);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(493,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(493,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(288,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(72,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(576,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(26,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(502,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(69);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(69,theQueue.front().intValue());
        theQueue.enqueue(908);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(69,theQueue.front().intValue());
        theQueue.enqueue(717);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(69,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(69,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(908,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(717,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(513);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(513,theQueue.front().intValue());
        theQueue.enqueue(101);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(513,theQueue.front().intValue());
        theQueue.enqueue(158);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(513,theQueue.front().intValue());
        theQueue.enqueue(876);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(513,theQueue.front().intValue());
        theQueue.enqueue(459);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(513,theQueue.front().intValue());
        theQueue.enqueue(72);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(513,theQueue.front().intValue());
        theQueue.enqueue(928);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(513,theQueue.front().intValue());
        theQueue.enqueue(91);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(513,theQueue.front().intValue());
        theQueue.enqueue(911);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(513,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(513,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(101,theQueue.front().intValue());
        theQueue.enqueue(558);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(101,theQueue.front().intValue());
        theQueue.enqueue(103);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(101,theQueue.front().intValue());
        theQueue.enqueue(67);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(101,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(101,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(158,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(876,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(459,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(72,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(928,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(91,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(911,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(558,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(103,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(67,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(515);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(515,theQueue.front().intValue());
        theQueue.enqueue(797);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(515,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(515,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(797,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(821);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(821,theQueue.front().intValue());
        theQueue.enqueue(425);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(821,theQueue.front().intValue());
        theQueue.enqueue(266);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(821,theQueue.front().intValue());
        theQueue.enqueue(598);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(821,theQueue.front().intValue());
        theQueue.enqueue(332);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(821,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(821,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(425,theQueue.front().intValue());
        theQueue.enqueue(41);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(425,theQueue.front().intValue());
        theQueue.enqueue(848);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(425,theQueue.front().intValue());
        theQueue.enqueue(531);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(425,theQueue.front().intValue());
        theQueue.enqueue(478);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(425,theQueue.front().intValue());
        theQueue.enqueue(794);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(425,theQueue.front().intValue());
        theQueue.enqueue(834);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(425,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(425,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(266,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(598,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(332,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(41,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(848,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(531,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(478,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(794,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(834,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(138);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(138,theQueue.front().intValue());
        theQueue.enqueue(794);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(138,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(138,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(794,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(794,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(986);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(986,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(986,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(904);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(904,theQueue.front().intValue());
        theQueue.enqueue(297);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(904,theQueue.front().intValue());
        theQueue.enqueue(824);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(904,theQueue.front().intValue());
        theQueue.enqueue(999);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(904,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(904,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(297,theQueue.front().intValue());
        theQueue.enqueue(645);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(297,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(297,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(824,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(999,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(645,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(839);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(839,theQueue.front().intValue());
        theQueue.enqueue(521);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(839,theQueue.front().intValue());
        theQueue.enqueue(581);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(839,theQueue.front().intValue());
        theQueue.enqueue(915);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(839,theQueue.front().intValue());
        theQueue.enqueue(199);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(839,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(839,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(521,theQueue.front().intValue());
        theQueue.enqueue(474);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(521,theQueue.front().intValue());
        theQueue.enqueue(655);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(521,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(521,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(581,theQueue.front().intValue());
        theQueue.enqueue(373);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(581,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(581,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(915,theQueue.front().intValue());
        theQueue.enqueue(231);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(915,theQueue.front().intValue());
        theQueue.enqueue(409);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(915,theQueue.front().intValue());
        theQueue.enqueue(582);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(915,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(915,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(199,theQueue.front().intValue());
        theQueue.enqueue(49);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(199,theQueue.front().intValue());
        theQueue.enqueue(880);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(199,theQueue.front().intValue());
        theQueue.enqueue(767);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(199,theQueue.front().intValue());
        theQueue.enqueue(242);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(199,theQueue.front().intValue());
        theQueue.enqueue(771);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(199,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(199,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(474,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(655,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(373,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(231,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(409,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(582,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(49,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(880,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(767,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(242,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(771,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(48);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(48,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(48,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(0);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(0,theQueue.front().intValue());
        theQueue.enqueue(25);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(0,theQueue.front().intValue());
        theQueue.enqueue(869);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(0,theQueue.front().intValue());
        theQueue.enqueue(191);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(0,theQueue.front().intValue());
        theQueue.enqueue(4);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(0,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(0,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(25,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(869,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(191,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(4,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(909);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(909,theQueue.front().intValue());
        theQueue.enqueue(947);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(909,theQueue.front().intValue());
        theQueue.enqueue(935);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(909,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(909,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(947,theQueue.front().intValue());
        theQueue.enqueue(816);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(947,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(947,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(935,theQueue.front().intValue());
        theQueue.enqueue(853);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(935,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(935,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(816,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(853,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(411);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(411,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(411,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(206);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(206,theQueue.front().intValue());
        theQueue.enqueue(511);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(206,theQueue.front().intValue());
        theQueue.enqueue(122);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(206,theQueue.front().intValue());
        theQueue.enqueue(499);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(206,theQueue.front().intValue());
    }

    @Test
    public void test09()
    {
        Integer tmp;
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(436);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(436,theQueue.front().intValue());
        theQueue.enqueue(622);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(436,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(436,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(622,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(664);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(664,theQueue.front().intValue());
        theQueue.enqueue(114);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(664,theQueue.front().intValue());
        theQueue.enqueue(168);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(664,theQueue.front().intValue());
        theQueue.enqueue(259);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(664,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(664,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(114,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(168,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(259,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(747);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(747,theQueue.front().intValue());
        theQueue.enqueue(724);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(747,theQueue.front().intValue());
        theQueue.enqueue(255);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(747,theQueue.front().intValue());
        theQueue.enqueue(638);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(747,theQueue.front().intValue());
        theQueue.enqueue(8);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(747,theQueue.front().intValue());
        theQueue.enqueue(455);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(747,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(747,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(724,theQueue.front().intValue());
        theQueue.enqueue(397);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(724,theQueue.front().intValue());
        theQueue.enqueue(916);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(724,theQueue.front().intValue());
        theQueue.enqueue(206);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(724,theQueue.front().intValue());
        theQueue.enqueue(49);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(724,theQueue.front().intValue());
        theQueue.enqueue(347);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(724,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(724,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(255,theQueue.front().intValue());
        theQueue.enqueue(817);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(255,theQueue.front().intValue());
        theQueue.enqueue(561);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(255,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(255,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(638,theQueue.front().intValue());
        theQueue.enqueue(994);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(638,theQueue.front().intValue());
        theQueue.enqueue(957);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(638,theQueue.front().intValue());
        theQueue.enqueue(380);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(638,theQueue.front().intValue());
        theQueue.enqueue(729);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(638,theQueue.front().intValue());
        theQueue.enqueue(231);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(638,theQueue.front().intValue());
        theQueue.enqueue(906);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(638,theQueue.front().intValue());
        theQueue.enqueue(473);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(638,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(638,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(8,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(455,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(397,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(916,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(206,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(49,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(347,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(817,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(561,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(994,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(957,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(380,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(729,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(231,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(906,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(473,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(886);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(886,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(886,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(27);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(27,theQueue.front().intValue());
        theQueue.enqueue(913);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(27,theQueue.front().intValue());
        theQueue.enqueue(544);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(27,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(27,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(913,theQueue.front().intValue());
        theQueue.enqueue(666);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(913,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(913,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(544,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(666,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(343);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(343,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(343,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(123);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(123,theQueue.front().intValue());
        theQueue.enqueue(867);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(123,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(123,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(867,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(808);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(808,theQueue.front().intValue());
        theQueue.enqueue(497);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(808,theQueue.front().intValue());
        theQueue.enqueue(580);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(808,theQueue.front().intValue());
        theQueue.enqueue(949);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(808,theQueue.front().intValue());
        theQueue.enqueue(356);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(808,theQueue.front().intValue());
        theQueue.enqueue(465);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(808,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(808,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(497,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(580,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(949,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(356,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(465,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(519);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(519,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(519,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(115);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(115,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(115,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(424);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(424,theQueue.front().intValue());
        theQueue.enqueue(42);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(424,theQueue.front().intValue());
        theQueue.enqueue(397);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(424,theQueue.front().intValue());
        theQueue.enqueue(644);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(424,theQueue.front().intValue());
        theQueue.enqueue(189);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(424,theQueue.front().intValue());
        theQueue.enqueue(75);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(424,theQueue.front().intValue());
        theQueue.enqueue(45);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(424,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(424,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(42,theQueue.front().intValue());
        theQueue.enqueue(439);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(42,theQueue.front().intValue());
        theQueue.enqueue(896);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(42,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(42,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(397,theQueue.front().intValue());
        theQueue.enqueue(873);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(397,theQueue.front().intValue());
        theQueue.enqueue(517);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(397,theQueue.front().intValue());
        theQueue.enqueue(428);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(397,theQueue.front().intValue());
        theQueue.enqueue(39);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(397,theQueue.front().intValue());
        theQueue.enqueue(183);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(397,theQueue.front().intValue());
        theQueue.enqueue(181);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(397,theQueue.front().intValue());
        theQueue.enqueue(483);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(397,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(397,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(644,theQueue.front().intValue());
        theQueue.enqueue(786);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(644,theQueue.front().intValue());
        theQueue.enqueue(321);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(644,theQueue.front().intValue());
        theQueue.enqueue(619);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(644,theQueue.front().intValue());
        theQueue.enqueue(349);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(644,theQueue.front().intValue());
        theQueue.enqueue(504);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(644,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(644,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(189,theQueue.front().intValue());
        theQueue.enqueue(742);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(189,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(189,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(75,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(75,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(45,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(45,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(439,theQueue.front().intValue());
        theQueue.enqueue(783);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(439,theQueue.front().intValue());
        theQueue.enqueue(786);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(439,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(439,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(896,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(896,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(873,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(517,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(428,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(39,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(183,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(181,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(483,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(786,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(321,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(619,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(349,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(504,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(742,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(783,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(786,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(613);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(613,theQueue.front().intValue());
        theQueue.enqueue(102);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(613,theQueue.front().intValue());
        theQueue.enqueue(598);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(613,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(613,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(102,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(102,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
        theQueue.enqueue(46);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
        theQueue.enqueue(727);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
        theQueue.enqueue(534);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
        theQueue.enqueue(618);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
        theQueue.enqueue(443);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(598,theQueue.front().intValue());
    }

    @Test
    public void test10()
    {
        Integer tmp;
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(471);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(471,theQueue.front().intValue());
        theQueue.enqueue(427);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(471,theQueue.front().intValue());
        theQueue.enqueue(449);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(471,theQueue.front().intValue());
        theQueue.enqueue(175);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(471,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(471,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(427,theQueue.front().intValue());
        theQueue.enqueue(125);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(427,theQueue.front().intValue());
        theQueue.enqueue(716);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(427,theQueue.front().intValue());
        theQueue.enqueue(117);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(427,theQueue.front().intValue());
        theQueue.enqueue(88);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(427,theQueue.front().intValue());
        theQueue.enqueue(601);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(427,theQueue.front().intValue());
        theQueue.enqueue(442);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(427,theQueue.front().intValue());
        theQueue.enqueue(272);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(427,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(427,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(449,theQueue.front().intValue());
        theQueue.enqueue(962);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(449,theQueue.front().intValue());
        theQueue.enqueue(893);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(449,theQueue.front().intValue());
        theQueue.enqueue(19);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(449,theQueue.front().intValue());
        theQueue.enqueue(788);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(449,theQueue.front().intValue());
        theQueue.enqueue(483);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(449,theQueue.front().intValue());
        theQueue.enqueue(291);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(449,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(449,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(175,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(175,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(125,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(125,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(716,theQueue.front().intValue());
        theQueue.enqueue(600);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(716,theQueue.front().intValue());
        theQueue.enqueue(331);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(716,theQueue.front().intValue());
        theQueue.enqueue(390);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(716,theQueue.front().intValue());
        theQueue.enqueue(98);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(716,theQueue.front().intValue());
        theQueue.enqueue(701);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(716,theQueue.front().intValue());
        theQueue.enqueue(998);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(716,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(716,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(117,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(88,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(601,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(442,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(272,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(962,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(893,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(19,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(788,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(483,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(291,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(600,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(331,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(390,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(98,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(701,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(998,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(98);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(98,theQueue.front().intValue());
        theQueue.enqueue(990);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(98,theQueue.front().intValue());
        theQueue.enqueue(29);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(98,theQueue.front().intValue());
        theQueue.enqueue(355);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(98,theQueue.front().intValue());
        theQueue.enqueue(129);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(98,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(98,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(990,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(29,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(355,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(129,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(146);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(146,theQueue.front().intValue());
        theQueue.enqueue(818);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(146,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(146,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(818,theQueue.front().intValue());
        theQueue.enqueue(980);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(818,theQueue.front().intValue());
        theQueue.enqueue(884);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(818,theQueue.front().intValue());
        theQueue.enqueue(399);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(818,theQueue.front().intValue());
        theQueue.enqueue(107);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(818,theQueue.front().intValue());
        theQueue.enqueue(0);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(818,theQueue.front().intValue());
        theQueue.enqueue(906);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(818,theQueue.front().intValue());
        theQueue.enqueue(373);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(818,theQueue.front().intValue());
        theQueue.enqueue(475);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(818,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(818,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(980,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(980,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(884,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(399,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(107,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(0,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(906,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(373,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(475,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(563);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(563,theQueue.front().intValue());
        theQueue.enqueue(371);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(563,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(563,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(371,theQueue.front().intValue());
        theQueue.enqueue(833);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(371,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(371,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(833,theQueue.front().intValue());
        theQueue.enqueue(744);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(833,theQueue.front().intValue());
        theQueue.enqueue(644);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(833,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(833,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(744,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(644,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(592);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(592,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(592,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(878);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(878,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(878,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(66);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(66,theQueue.front().intValue());
        theQueue.enqueue(7);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(66,theQueue.front().intValue());
        theQueue.enqueue(216);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(66,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(66,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(7,theQueue.front().intValue());
        theQueue.enqueue(275);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(7,theQueue.front().intValue());
        theQueue.enqueue(938);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(7,theQueue.front().intValue());
        theQueue.enqueue(954);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(7,theQueue.front().intValue());
        theQueue.enqueue(505);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(7,theQueue.front().intValue());
        theQueue.enqueue(537);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(7,theQueue.front().intValue());
        theQueue.enqueue(600);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(7,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(7,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(216,theQueue.front().intValue());
        theQueue.enqueue(521);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(216,theQueue.front().intValue());
        theQueue.enqueue(558);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(216,theQueue.front().intValue());
        theQueue.enqueue(486);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(216,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(216,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(275,theQueue.front().intValue());
        theQueue.enqueue(554);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(275,theQueue.front().intValue());
        theQueue.enqueue(212);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(275,theQueue.front().intValue());
        theQueue.enqueue(648);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(275,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(275,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(938,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(954,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(505,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(537,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(600,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(521,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(558,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(486,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(554,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(212,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(648,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(849);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(849,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(849,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(910);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(910,theQueue.front().intValue());
        theQueue.enqueue(244);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(910,theQueue.front().intValue());
        theQueue.enqueue(543);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(910,theQueue.front().intValue());
        theQueue.enqueue(440);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(910,theQueue.front().intValue());
        theQueue.enqueue(468);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(910,theQueue.front().intValue());
        theQueue.enqueue(935);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(910,theQueue.front().intValue());
        theQueue.enqueue(625);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(910,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(910,tmp.intValue());
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(244,theQueue.front().intValue());
        theQueue.enqueue(702);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(244,theQueue.front().intValue());
        theQueue.enqueue(236);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(244,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(244,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(543,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(440,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(468,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(935,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(625,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(702,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(236,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(243);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(243,theQueue.front().intValue());
        theQueue.enqueue(120);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(243,theQueue.front().intValue());
        theQueue.enqueue(952);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(243,theQueue.front().intValue());
        tmp = theQueue.dequeue();
        assertEquals(243,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(120,tmp.intValue());
        tmp = theQueue.dequeue();
        assertEquals(952,tmp.intValue());
        assertTrue(theQueue.isEmpty());
        assertNull(theQueue.front());
        theQueue.enqueue(282);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(282,theQueue.front().intValue());
        theQueue.enqueue(648);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(282,theQueue.front().intValue());
        theQueue.enqueue(188);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(282,theQueue.front().intValue());
        theQueue.enqueue(339);
        assertFalse(theQueue.isEmpty());
        assertNotNull(theQueue.front());
        assertEquals(282,theQueue.front().intValue());
    }

}
