chessCAMO
Classes | Namespaces | Functions
unit.cpp File Reference
#include <iostream>
#include <gtest/gtest.h>
#include "chess.h"

Classes

class  ChessTest
 This class describes a chess test for string or integer source and destination squares. It is used as a fixture to quickly set up tests without duplicating the code, by utilizing the overriden SetUp and TearDown functions. More...
 

Namespaces

 anonymous_namespace{unit.cpp}
 

Functions

string anonymous_namespace{unit.cpp}::boardFenConverter (Chess &chess)
 Converts a given board position into a FEN string representation. More...
 
void anonymous_namespace{unit.cpp}::appendFEN (string &fen, int &empty_count, char next_char, bool isWhite)
 Decides what type of character to append to the formed FEN string. More...