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

public class TestR250 {

    @Test
    public void test01() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] {};
        assertEquals(0, objetoBase.detectarRectangulos(inputGrid));
    }

    public void test02() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { "" };
        assertEquals(0, objetoBase.detectarRectangulos(inputGrid));

    }

    public void test03() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { " " };
        assertEquals(0, objetoBase.detectarRectangulos(inputGrid));
    }

    public void test04() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { "+-+", "| |", "+-+" };
        assertEquals(1, objetoBase.detectarRectangulos(inputGrid));
    }

    public void test05() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { "  +-+", "  | |", "+-+-+", "| |  ", "+-+  " };
        assertEquals(2, objetoBase.detectarRectangulos(inputGrid));
    }

    public void test06() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { "  +-+", "  | |", "+-+-+", "| | |", "+-+-+" };
        assertEquals(5, objetoBase.detectarRectangulos(inputGrid));
    }

    public void test07() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { "+--+", "+--+" };
        assertEquals(1, objetoBase.detectarRectangulos(inputGrid));
    }

    public void test08() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { "++", "||", "++" };
        assertEquals(1, objetoBase.detectarRectangulos(inputGrid));
    }

    public void test09() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { "++", "++" };
        assertEquals(1, objetoBase.detectarRectangulos(inputGrid));
    }

    public void test10() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { "  +-+", "    |", "+-+-+", "| | -", "+-+-+" };
        assertEquals(1, objetoBase.detectarRectangulos(inputGrid));
    }

    public void test11() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { "+------+----+", "|      |    |", "+---+--+    |", "|   |       |",
                "+---+-------+" };
        assertEquals(3, objetoBase.detectarRectangulos(inputGrid));
    }

    public void test12() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { "+------+----+", "|      |    |", "+------+    |", "|   |       |",
                "+---+-------+" };
        assertEquals(2, objetoBase.detectarRectangulos(inputGrid));
    }

    public void test13() {
        R250 objetoBase = new R250();
        String[] inputGrid = new String[] { "+---+--+----+", "|   +--+----+", "+---+--+    |", "|   +--+----+",
                "+---+--+--+-+", "+---+--+--+-+", "+------+  | |", "          +-+" };
        assertEquals(60, objetoBase.detectarRectangulos(inputGrid));
    }
}

@@ -313,32 +313,42 @@
 tGrid));%0A    %7D%0A%0A
+    @Test%0A
     public void 
@@ -354,24 +354,24 @@
  test02() %7B%0A
-
         R250
@@ -514,32 +514,42 @@
 Grid));%0A%0A    %7D%0A%0A
+    @Test%0A
     public void 
@@ -715,32 +715,42 @@
 tGrid));%0A    %7D%0A%0A
+    @Test%0A
     public void 
@@ -932,32 +932,42 @@
 tGrid));%0A    %7D%0A%0A
+    @Test%0A
     public void 
@@ -1173,32 +1173,42 @@
 tGrid));%0A    %7D%0A%0A
+    @Test%0A
     public void 
@@ -1414,32 +1414,42 @@
 tGrid));%0A    %7D%0A%0A
+    @Test%0A
     public void 
@@ -1626,32 +1626,42 @@
 tGrid));%0A    %7D%0A%0A
+    @Test%0A
     public void 
@@ -1840,32 +1840,42 @@
 tGrid));%0A    %7D%0A%0A
+    @Test%0A
     public void 
@@ -2048,32 +2048,42 @@
 tGrid));%0A    %7D%0A%0A
+    @Test%0A
     public void 
@@ -2289,32 +2289,42 @@
 tGrid));%0A    %7D%0A%0A
+    @Test%0A
     public void 
@@ -2586,32 +2586,42 @@
 tGrid));%0A    %7D%0A%0A
+    @Test%0A
     public void 
@@ -2887,24 +2887,34 @@
 d));%0A    %7D%0A%0A
+    @Test%0A
     public v

Update TestR250.java