@Test public void testRandom()
        {
            int i=0,j=0;  //int to increment for each similar value
            //two grids to compare
            MemoryGrid test1 = new MemoryGrid(16);
            MemoryGrid test2 = new MemoryGrid(16);
            MemoryCard temp2 = test2.memGrid.get(j);
            for(MemoryCard temp: test1.memGrid){
                if(temp.getVal()==temp2.getVal())
                    i++;
		  j++;

		  if(j<test1.size)
                    temp2 = test2.memGrid.get(j);

            }
            assertFalse(i==test1.size/2);
        }