Cambridge SMT System
wordmapper.gtest.cpp File Reference

Unit testing: WordMapper, class that maps words to integers and vice versa. More...

#include <googletesting.h>
#include "main.custom_assert.hpp"
#include "main.logger.hpp"
#include "wordmapper.hpp"
Include dependency graph for wordmapper.gtest.cpp:

Go to the source code of this file.

Functions

 TEST (wordmapper, basic_test)
 Basic test over WordMapper class. More...
 
int main (int argc, char **argv)
 

Detailed Description

Unit testing: WordMapper, class that maps words to integers and vice versa.

Date
8-8-2012
Author
Gonzalo Iglesias

Definition in file wordmapper.gtest.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 51 of file wordmapper.gtest.cpp.

TEST ( wordmapper  ,
basic_test   
)

Basic test over WordMapper class.

Definition at line 31 of file wordmapper.gtest.cpp.