Functions | Variables
source/Model/unit_test/test_MatrixCell.cpp File Reference
#include <iostream>
#include <string>
#include <sstream>
#include "../Cell.h"
#include "../MatrixCell.h"

Functions

bool print_debug_result (const char *i_pMessage, string i_pResult)
bool test_checkResult (string i_strRightAnswer, string i_strCheck)
void print_test_result (const char *i_pMessage, bool i_bIsSuccess)
bool test_matrix_cell_generate ()
bool test_matrix_cell_setState ()
bool test_cell_born ()
bool test_cell_survive ()
bool test_cell_under_population ()
bool test_cell_over_population ()
bool test_Matrix_Cell ()
int main ()

Variables

static int gDEBUG = false

Function Documentation

int main ( )
bool print_debug_result ( const char *  i_pMessage,
string  i_pResult 
)
void print_test_result ( const char *  i_pMessage,
bool  i_bIsSuccess 
)
bool test_cell_born ( )
bool test_cell_over_population ( )
bool test_cell_survive ( )
bool test_cell_under_population ( )
bool test_checkResult ( string  i_strRightAnswer,
string  i_strCheck 
)
bool test_Matrix_Cell ( )
bool test_matrix_cell_generate ( )
bool test_matrix_cell_setState ( )

Variable Documentation

int gDEBUG = false [static]
 All Classes Files Functions Variables Enumerations Enumerator Defines