Package Crypto :: Package SelfTest :: Package Util :: Module test_Counter :: Class CounterTests
[hide private]
[frames] | no frames]

Class CounterTests

       object --+    
                |    
unittest.TestCase --+
                    |
                   CounterTests

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.
 
test_BE_shortcut(self)
Big endian, shortcut enabled
 
test_LE_shortcut(self)
Little endian, shortcut enabled
 
test_BE_no_shortcut(self)
Big endian, shortcut disabled
 
test_LE_no_shortcut(self)
Little endian, shortcut disabled
 
test_BE_defaults(self)
128-bit, Big endian, defaults
 
test_LE_defaults(self)
128-bit, Little endian, defaults
 
test_BE8_wraparound(self)
8-bit, Big endian, wraparound
 
test_LE8_wraparound(self)
8-bit, Little endian, wraparound
 
test_BE8_wraparound_allowed(self)
8-bit, Big endian, wraparound with allow_wraparound=True
 
test_LE8_wraparound_allowed(self)
8-bit, Little endian, wraparound with allow_wraparound=True
 
test_BE8_carry(self)
8-bit, Big endian, carry attribute
 
test_LE8_carry(self)
8-bit, Little endian, carry attribute

Inherited from unittest.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __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__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

 
Hook method for setting up the test fixture before exercising it.
Overrides: unittest.TestCase.setUp
(inherited documentation)