Package test_suite :: Package unit_tests :: Package _lib :: Module test_float :: Class Test_float
[hide private]
[frames] | no frames]

Class Test_float

source code

Unit tests for the functions of the 'float' module.

Nested Classes [hide private]

Inherited from failureException

Instance Methods [hide private]
do_test_sets(self, function, true_class=[], false_class=[])
Method for checking all the values against the given function.
source code
Test the float.getFloatClass() function.
source code
Test the float.isZero() function.
source code
Test the float.isZero() function.
source code

Inherited from __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, setUp, shortDescription, skipTest, tearDown

Inherited from (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from setUpClass, tearDownClass

Class Variables [hide private]
  num_types = {45725296: -inf, 45725320: inf, 45725344: nan, 872...

Inherited from longMessage, maxDiff

Inherited from (private): _classSetupFailed, _diffThreshold

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]


{45725296: -inf,
 45725320: inf,
 45725344: nan,
 87234616: -0.0,
 87234640: 0.0,
 87234664: 4.94065645841e-324,
 87234688: -4.94065645841e-324,
 87234736: -1000000.0,