Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
olikraus committed Apr 17, 2016
1 parent 1e1fea7 commit ce06a02
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tools/intersection/intersection.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/*
intersection.c
coverage: gcc -fprofile-arcs -ftest-coverage intersection.c
*/

#include <stdint.h>
#include <stdio.h>
Expand Down Expand Up @@ -243,7 +249,7 @@ void check(uint8_t b1, uint8_t b2)
clear();
line(a1, a2, 1);
line(b1, b2, 2);
show();
//show();
intersection = is_array_intersection();
p = conditionpattern(b1, b2);
pla[p] |= intersection+1;
Expand Down Expand Up @@ -288,7 +294,7 @@ void check_size(uint8_t size)
void check_all(void)
{
uint8_t size;
for( size =1; size < 255; size++ )
for( size =0; size < 255; size++ )
{
printf("size=%d\n", size);
check_size(size);
Expand Down

0 comments on commit ce06a02

Please sign in to comment.