IN101 project on Conway's Game of Life
|
Test executable source code for a linked list implementation of Conway's game of life loader. More...
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include "naive_universe.h"
#include "naive_loader.h"
Functions | |
int | main (void) |
Test executable source code for a linked list implementation of Conway's game of life loader.
Test executable source code for a naive implementation of Conway's game of life loader.
The test loads the glider.txt
file from the data
directory using the list-universe-load
function from list_loader.c and checks it against a hardcoded version.
The test loads the glider.txt
file from the data
directory using the naive-universe-load
function from naive_loader.c and checks it against a hardcoded version.