ModErn Text Analysis
META Enumerates Textual Applications
libsvm_parser_test.h
Go to the documentation of this file.
1 
10 #ifndef META_LIBSVM_PARSER_TEST_H_
11 #define META_LIBSVM_PARSER_TEST_H_
12 
13 #include "test/unit_test.h"
14 #include "io/libsvm_parser.h"
15 
16 namespace meta
17 {
18 namespace testing
19 {
23 void label();
24 
28 void no_label();
29 
33 void bad_label();
34 
38 void bad_counts();
39 
45 }
46 }
47 
48 #endif
void bad_label()
Tests libsvm strings containing a bad class label.
void bad_counts()
Tests libsvm strings containing a bad count data.
Definition: libsvm_parser_test.cpp:64
void no_label()
Tests libsvm strings not containing a class label.
Definition: libsvm_parser_test.cpp:33
The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
Definition: analyzer.h:24
int libsvm_parser_tests()
Runs all the libsvm parser tests.
Definition: libsvm_parser_test.cpp:83
void label()
Tests libsvm strings containing a class label.
Definition: libsvm_parser_test.cpp:13