Package nltk_lite :: Package contrib :: Package classifier_tests :: Module attributestests :: Class AttributesTestCase
[hide private]
[frames] | no frames]

Class AttributesTestCase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   AttributesTestCase

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
test_counts_correct_number_of_attributes(self) source code
 
test_attributes_are_valid(self) source code
 
test_attributes_are_in_order(self) source code
 
test_attributes_contain_an_attribute(self) source code
 
test_attributes_are_equal(self) source code
 
test_index_stored_in_attributes(self) source code
 
test_has_continuous_attibutes_returns_true_if_even_1_attr_is_cont(self) source code
 
test_does_not_check_continuous_attribute_for_validity(self) source code
 
test_return_subset_as_requested_by_index_array(self) source code
 
test_discretise_replaces_cont_attrs_in_args_with_disc_ones(self) source code
 
test_empty_decision_stumps(self) source code
 
test_remove_attributes(self) source code

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, tearDown

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.

Overrides: unittest.TestCase.setUp
(inherited documentation)