@Test
    public void testSensedCell() throws IOException {
        System.out.println("sensedCell");
        Cell instance = new Cell(2,2);
        int[] pos = new int[2];
        pos[0] = 2;
        pos[1] = 2;
        int dir = 0;
        Sense.senseDir sD = Sense.dirFromString("here");
        int[] result = instance.sensedCell(pos, dir, sD);
        assertEquals(2, result[0]);
        assertEquals(2, result[1]);
        
        sD = Sense.dirFromString("ahead");
        result = instance.sensedCell(pos, dir, sD);
        assertEquals(2, result[0]);
        assertEquals(3, result[1]);
        
        AntBrain ab = new AntBrain("cleverbrain1.brain");
        Ant ant = new Ant(ab, true, 0);
        instance.setAnt(ant);
        
        sD = Sense.dirFromString("leftahead");
        result = instance.sensedCell(pos, dir, sD);
        assertEquals(1, result[0]);
        assertEquals(2, result[1]);
        
        sD = Sense.dirFromString("RIGHTAHEAD");
        result = instance.sensedCell(pos, dir, sD);
        assertEquals(3, result[0]);
        assertEquals(2, result[1]);
        
        
    }