/disk4/html/www/moses/doxygen/mosesdecoder/moses/WordsBitmapTest.cpp File Reference

#include <boost/test/unit_test.hpp>
#include <vector>
#include "Bitmap.h"

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (initialise)
 BOOST_AUTO_TEST_CASE (getset)
 BOOST_AUTO_TEST_CASE (covered)
 BOOST_AUTO_TEST_CASE (positions)


Function Documentation

BOOST_AUTO_TEST_CASE ( positions   ) 

Definition at line 112 of file WordsBitmapTest.cpp.

References Moses::Bitmap::GetFirstGapPos(), Moses::Bitmap::GetLastGapPos(), Moses::Bitmap::GetLastPos(), NOT_FOUND, and Moses::Bitmap::SetValue().

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( covered   ) 

Definition at line 96 of file WordsBitmapTest.cpp.

References Moses::Bitmap::GetNumWordsCovered(), and Moses::Bitmap::SetValue().

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( getset   ) 

Definition at line 65 of file WordsBitmapTest.cpp.

References Moses::Bitmap::GetValue(), and Moses::Bitmap::SetValue().

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( initialise   ) 

Definition at line 31 of file WordsBitmapTest.cpp.

References Moses::Bitmap::GetFirstGapPos(), Moses::Bitmap::GetSize(), Moses::Bitmap::GetValue(), and NOT_FOUND.

Here is the call graph for this function:


Generated on Thu Jul 6 00:31:36 2017 for Moses by  doxygen 1.5.9