private void testCase4()
 {
     int[] blocks = new int[] { 4, 5, 0, 2, 5, 6, 4, 0, 3, 5 };
     List<Patrol> patrols = new List<Patrol>();
     patrols.Add(new Patrol(3));
     patrols.Add(new Patrol(2));
     patrols.Add(new Patrol(2));
     pm = new PatrolAlgorithm(blocks, patrols);
 }
 public void CoverBlock(PatrolAlgorithm pm, int block)
 {
     for (int i = block; i < block + area; i++)
     {
         pm.SetBlockCovered(i);
     }
     blockCovered = block;
     coveringBlock = true;
 }
 private void testCase2()
 {
     int[] blocks = new int[] { 0, 3, 5, 5, 5, 1, 0 };
     List<Patrol> patrols = new List<Patrol>();
     patrols.Add(new Patrol(3));
     patrols.Add(new Patrol(3));
     pm = new PatrolAlgorithm(blocks, patrols);
 }