Test Program used to grade assignment 5
You will need these files:
(test_prog.fd if you want it,)
and your own transform.c.
These lines were added to your makefiles:
TESTS = test1
$(CC) $(CFLAGS) $(LDFLAGS) ../testcode/$@.c ../testcode/test_prog.c -o $@ $(LIBS)
make test1 should compile an interactive program.
- The first test should rotate about the orange icosahedron face, then the blue icosahedron face. It tests the rotate function.
- The second test should show the green/blue edge, the blue/brown edge, and then the black/yellow edge. It also tests the rotate function.
- The third test should show the green/blue edge rotate from vertical to horizontal, then the purple/yellow edge, and then the black/yellow edge. It tests the lookat function.
- There is no fourth test.