Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_fractions Namespace Reference

Classes

class  DummyFloat
class  DummyRational
class  GcdTest
class  FractionTest

Functions

def _components
def test_main

Variables

 F = fractions.Fraction
 gcd = fractions.gcd

Detailed Description

Tests for Lib/fractions.py.

Function Documentation

def test.test_fractions._components (   r) [private]

Definition at line 94 of file test_fractions.py.

00094 
00095 def _components(r):
00096     return (r.numerator, r.denominator)
00097 

Here is the caller graph for this function:

Definition at line 586 of file test_fractions.py.

00586 
00587 def test_main():
00588     run_unittest(FractionTest, GcdTest)

Here is the call graph for this function:


Variable Documentation

Definition at line 12 of file test_fractions.py.

Definition at line 13 of file test_fractions.py.