Cambridge SMT System
hifst.task.ssgrammar.gtest.cpp File Reference

Unit testing: sentence-specific grammar task. More...

#include <googletesting.h>
#include "main.custom_assert.hpp"
#include "main.logger.hpp"
#include "params.hpp"
#include "addresshandler.hpp"
#include "taskinterface.hpp"
#include "defs.grammar.hpp"
#include "defs.ssgrammar.hpp"
#include "data.stats.hpp"
#include "data.grammar.hpp"
#include "data.ssgrammar.hpp"
#include "task.grammar.hpp"
#include "task.ssgrammar.hpp"
Include dependency graph for hifst.task.ssgrammar.gtest.cpp:

Go to the source code of this file.

Classes

struct  DataForSentenceSpecificGrammarTask
 Public Data class with variables required by SentenceSpecificGrammarTask. More...
 

Functions

 TEST (HifstSentenceSpecificGrammarTask, basic_test)
 Basic test for TextTask class. More...
 
 TEST (HifstSentenceSpecificGrammarTask, data)
 
int main (int argc, char **argv)
 

Detailed Description

Unit testing: sentence-specific grammar task.

Date
8-8-2012
Author
Gonzalo Iglesias

Definition in file hifst.task.ssgrammar.gtest.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 224 of file hifst.task.ssgrammar.gtest.cpp.

TEST ( HifstSentenceSpecificGrammarTask  ,
basic_test   
)

Basic test for TextTask class.

Initialize all variables required to uses these task classes.

Definition at line 66 of file hifst.task.ssgrammar.gtest.cpp.

Here is the call graph for this function:

TEST ( HifstSentenceSpecificGrammarTask  ,
data   
)

Definition at line 178 of file hifst.task.ssgrammar.gtest.cpp.

Here is the call graph for this function: