Parcial Unico/ParcialUnico2017/src/test/java/clases/TSBDeQueueTest.java
@org.junit.Test
    public void testEquals() {
        System.out.println("equals");
        assertTrue(instance.equals(instance));
        assertFalse(instance.equals(empty));
        // Prueba que si tienen igual contenido de equals = true;
        assertTrue(instance.equals(instance2));
        // sin importar la cantidad de modificaciones.        
        for (int i = 0; i < 100; i++) {
            instance.addLast(1);
        }
        for (int i = 0; i < 100; i++) {
            instance.removeLast();
        }

        assertTrue(instance.equals(instance2));
    }
/**
     * Test of equals method, of class TSBDeQueue.
     */
Test of equals method, of class TSBDeQueue.
Test of equals method of class TSBDeQueue .
@org.junit.Test
    public void testEquals() {
        System.out.println("equals");
        assertTrue(instance.equals(instance));
        assertFalse(instance.equals(empty));
        assertTrue(instance.equals(instance2));
        for (int i = 0; i < 100; i++) {
            instance.addLast(1);
        }
        for (int i = 0; i < 100; i++) {
            instance.removeLast();
        }
        assertTrue(instance.equals(instance2));
    }
@ org . junit . Test public void testEquals ( ) { System . out . println ( "equals" ) ; assertTrue ( instance . equals ( instance ) ) ; assertFalse ( instance . equals ( empty ) ) ; assertTrue ( instance . equals ( instance2 ) ) ; for ( int i = 0 ; i < 100 ; i ++ ) { instance . addLast ( 1 ) ; } for ( int i = 0 ; i < 100 ; i ++ ) { instance . removeLast ( ) ; } assertTrue ( instance . equals ( instance2 ) ) ; }
Test of equals method, of class TSBDeQueue.
Test of equals method of class TSBDeQueue .
// Prueba que si tienen igual contenido de equals = true;
 // sin importar la cantidad de modificaciones.        
