|
IN101 project on Conway's Game of Life
|
Test executable source code for a naive implementation of Conway's game of life universe structure. More...

Functions | |
| void | test_getcell () |
Test of the naive_universe_get_cell function. | |
| void | test_print () |
Test of the naive_universe_print function. | |
| void | test_universeupdatecell () |
Test of the naive_universe_update_cell function. | |
| int | main (void) |
Variables | |
| char | CELLS0 [] = ".0.....0..000.." |
| char | CELLS1 [] = "..............." |
| char * | CELLS1_check = "..............." |
| char | CELLS2 [] = ".......0......." |
| char * | CELLS2_check = ".......0......." |
| universe | u |
Test executable source code for a naive implementation of Conway's game of life universe structure.
Contains the following tests:
naive_universe_get_cell functionnaive_universe_print functionnaive_universe_update_cell functionThese functions are implemented in the naive_universe.h and naive_universe.c source files.
The further-defined string constants are used by the different tests.
1.8.13