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

Unit testing: converting grammar-specific patterns into instance patterns. More...

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

Go to the source code of this file.

Classes

class  DataForPatternsToInstancesTask
 Public Data class with variables required by PatternsToInstancestask to compile and run. More...
 

Functions

 TEST (HifstPatternsToInstances, basic_test)
 Basic test for PatternsToInstancesTask class. More...
 
int main (int argc, char **argv)
 

Detailed Description

Unit testing: converting grammar-specific patterns into instance patterns.

Date
8-8-2012
Author
Gonzalo Iglesias

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

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 82 of file hifst.task.patternstoinstances.gtest.cpp.

TEST ( HifstPatternsToInstances  ,
basic_test   
)

Basic test for PatternsToInstancesTask class.

Initialize all variables required to use task class

Definition at line 57 of file hifst.task.patternstoinstances.gtest.cpp.