EmbDataTest Class Reference

#include <EmbDataTest.h>

Inheritance diagram for EmbDataTest:
UnitTest Test

List of all members.

Public Member Functions

 EmbDataTest (TestSuite *s)
void testEmbedding (void)
void testExtracting (void)

Private Member Functions

bool genericTestEmbedding (EmbData emb, BitString shouldbe)
bool feed_to (const BitString &bs, EmbData &emb)

Constructor & Destructor Documentation

EmbDataTest::EmbDataTest ( TestSuite s  ) 

Member Function Documentation

bool EmbDataTest::feed_to ( const BitString bs,
EmbData emb 
) [private]

pass the BitString bs to emb using getNumBitsNeeded and addBits

Returns:
true iff emb took exactly the (number of) bits from bs
bool EmbDataTest::genericTestEmbedding ( EmbData  emb,
BitString  shouldbe 
) [private]
void EmbDataTest::testEmbedding ( void   ) 
void EmbDataTest::testExtracting ( void   ) 

The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2