Skip to content

Commit

Permalink
[sequential] test code 추가
Browse files Browse the repository at this point in the history
매 loop에서 change count 출력하는 test code 추가
  • Loading branch information
ptptptpts committed Apr 16, 2014
1 parent 7d9464d commit caef042
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sequential/game_of_life_seq.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

//#define __TESTINPUT
//#define __TESTBASIC
//#define __TESTCNT
//#define __NOOUTPUT


Expand Down Expand Up @@ -240,8 +241,8 @@ void LifeGame (void)

ChangeCnt = SearchMap();

#ifdef __TESTBASIC
printf ("Change Count :: %d\n", ChangeCnt);
#ifdef __TESTCNT
printf ("%d th Change Count :: %d\n", i+1, ChangeCnt);
#endif

ppTmp = _ppMap;
Expand Down

0 comments on commit caef042

Please sign in to comment.