ModErn Text Analysis
META Enumerates Textual Applications
Namespaces | Functions
forward_index_test.h File Reference
#include <fstream>
#include <iostream>
#include "test/unit_test.h"
#include "index/forward_index.h"
#include "test/inverted_index_test.h"
#include "caching/all.h"
#include "cpptoml.h"

Go to the source code of this file.

Namespaces

 meta
 The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
 
 meta::testing
 Contains unit testing functions for the META toolkit.
 

Functions

void meta::testing::create_libsvm_config ()
 Creates a test-config.toml with the desired settings.
 
template<class Index >
void meta::testing::check_bcancer_expected (Index &idx)
 Asserts that the bcancer corpus was created correctly. More...
 
template<class Index >
void meta::testing::check_ceeaus_expected_fwd (Index &idx)
 Asserts that the bcancer corpus was created correctly. More...
 
template<class Index >
void meta::testing::check_bcancer_doc_id (Index &idx)
 Asserts that the ceeaus corpus was created correctly. More...
 
template<class Index >
void meta::testing::check_ceeaus_doc_id (Index &idx)
 Asserts that the ceeaus corpus was created correctly. More...
 
void meta::testing::ceeaus_forward_test ()
 Runs the ceeaus forward index tests.
 
void meta::testing::bcancer_forward_test ()
 Runs the bcancer forward index tests.
 
int meta::testing::forward_index_tests ()
 Runs all the forward_index tests. More...
 

Detailed Description

Author
Sean Massung

All files in META are dual-licensed under the MIT and NCSA licenses. For more details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the project.