IN101 project on Conway's Game of Life
Functions | Variables
test-naive-loader.c File Reference

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"
Include dependency graph for test-naive-loader.c:

Functions

int main (void)
 

Variables

char * FILENAME = "./data/glider.txt"
 
char * GLIDER_CELLS = ".o....................o.................ooo........................................................................................................................................................................................................................................................................................................................................................................................o"
 

Detailed Description

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.

Author
Victor Colomb (vic.c.nosp@m.ol@h.nosp@m.otmai.nosp@m.l.fr)
Date
2021-03-13

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.

Author
Victor Colomb (vic.c.nosp@m.ol@h.nosp@m.otmai.nosp@m.l.fr)
Date
2021-02-25

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.