Package subjectdata :: Package test :: Module testsuite :: Class FunctionsTestSuite
[show private | hide private]
[frames | no frames]

Type FunctionsTestSuite

object --+    
         |    
  TestCase --+
             |
            FunctionsTestSuite


Method Summary
  testExpFailure(self)
Testing Exp for failure
  testExpSuccess(self)
Testing Exp for success
  testFunctionsSuccess(self)
Testing Functions for success
  testInvMulFailure(self)
Testing InvMul for failure
  testInvMulSuccess(self)
Testing InvMul for success
  testInvSumFailure(self)
Testing InvSum for failure
  testInvSumSuccess(self)
Testing InvSum for success
  testMulFailure(self)
Testing Mul for failure
  testMulSuccess(self)
Testing Mul for success
  testSumFailure(self)
Testing Sum for failure
  testSumSuccess(self)
Testing Sum for success
    Inherited from TestCase
  __init__(self, methodName)
Create an instance of the class that will use the named test method when executed.
  __call__(self, result)
  __repr__(self)
  __str__(self)
  assert_(self, expr, msg)
Fail the test unless the expression is true.
  assertAlmostEqual(self, first, second, places, msg)
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertAlmostEquals(self, first, second, places, msg)
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertEqual(self, first, second, msg)
Fail if the two objects are unequal as determined by the '==' operator.
  assertEquals(self, first, second, msg)
Fail if the two objects are unequal as determined by the '==' operator.
  assertNotAlmostEqual(self, first, second, places, msg)
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertNotAlmostEquals(self, first, second, places, msg)
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertNotEqual(self, first, second, msg)
Fail if the two objects are equal as determined by the '==' operator.
  assertNotEquals(self, first, second, msg)
Fail if the two objects are equal as determined by the '==' operator.
  assertRaises(self, excClass, callableObj, *args, **kwargs)
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs.
  countTestCases(self)
  debug(self)
Run the test without collecting errors in a TestResult
  defaultTestResult(self)
  fail(self, msg)
Fail immediately, with the given message.
  failIf(self, expr, msg)
Fail the test if the expression is true.
  failIfAlmostEqual(self, first, second, places, msg)
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  failIfEqual(self, first, second, msg)
Fail if the two objects are equal as determined by the '==' operator.
  failUnless(self, expr, msg)
Fail the test unless the expression is true.
  failUnlessAlmostEqual(self, first, second, places, msg)
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  failUnlessEqual(self, first, second, msg)
Fail if the two objects are unequal as determined by the '==' operator.
  failUnlessRaises(self, excClass, callableObj, *args, **kwargs)
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs.
  id(self)
  run(self, result)
  setUp(self)
Hook method for setting up the test fixture before exercising it.
  shortDescription(self)
Returns a one-line description of the test, or None if no description has been provided.
  tearDown(self)
Hook method for deconstructing the test fixture after testing it.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Class Variable Summary
list sampleExpSuccess = [([4.5, 4.0, -34, -3.3999999999999999...
list sampleInvMulSuccess = [([2], 0.5), ([4.5], 0.22222222222...
list sampleInvSumSuccess = [([2], -2), ([4.5], -4.5), ([-4], ...
list sampleMulSuccess = [([4.5, 4.0, -34, -3.3999999999999999...
list sampleSumSuccess = [([4.5, 4, 0, -34, -3.399999999999999...

Method Details

testExpFailure(self)

Testing Exp for failure

testExpSuccess(self)

Testing Exp for success

testFunctionsSuccess(self)

Testing Functions for success

testInvMulFailure(self)

Testing InvMul for failure

testInvMulSuccess(self)

Testing InvMul for success

testInvSumFailure(self)

Testing InvSum for failure

testInvSumSuccess(self)

Testing InvSum for success

testMulFailure(self)

Testing Mul for failure

testMulSuccess(self)

Testing Mul for success

testSumFailure(self)

Testing Sum for failure

testSumSuccess(self)

Testing Sum for success

Class Variable Details

sampleExpSuccess

Type:
list
Value:
[([4.5, 4.0, -34, -3.3999999999999999], 1.1103665490119934e+302),
 ([2, 2], 4),
 ([2, -1], 0.5),
 ([4.5], 4.5),
 ([-4], -4.0)]                                                         

sampleInvMulSuccess

Type:
list
Value:
[([2], 0.5), ([4.5], 0.22222222222222221), ([-4], -0.25)]              

sampleInvSumSuccess

Type:
list
Value:
[([2], -2), ([4.5], -4.5), ([-4], 4.0)]                                

sampleMulSuccess

Type:
list
Value:
[([4.5, 4.0, -34, -3.3999999999999999], 2080.8000000000002),
 ([4.5], 4.5),
 ([-4], -4.0)]                                                         

sampleSumSuccess

Type:
list
Value:
[([4.5, 4, 0, -34, -3.3999999999999999], -28.899999999999999),
 ([4.5], 4.5),
 ([-4], -4.0)]                                                         

Generated by Epydoc 2.1 on Tue Aug 17 18:20:06 2004 http://epydoc.sf.net