tests2: fix 30_hanoi test and enable it.

This commit is contained in:
minux
2014-04-12 13:37:37 -04:00
parent 0e3d2e0bea
commit 0a51386960
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ void PrintAll()
/* Returns the value moved (not used.) */
int Move(int *source, int *dest)
{
int i,j;
int i = 0, j = 0;
while (i<N && (source[i])==0) i++;
while (j<N && (dest[j])==0) j++;