Python_2  1.0
Public Member Functions | Public Attributes | List of all members
_01a_fracaoTest.FracaoTest Class Reference

Class for testing certain aspects of the behavior of the Fracao. More...

Inheritance diagram for _01a_fracaoTest.FracaoTest:
Inheritance graph
[legend]
Collaboration diagram for _01a_fracaoTest.FracaoTest:
Collaboration graph
[legend]

Public Member Functions

def setUp (self)
 Two fraction objects to be used in the tests. More...
 
def test_eq (self)
 
def test_reduce (self)
 
def test_rdiv (self)
 
def test_rop (self)
 
def test_add (self)
 
def test_iadd (self)
 
def test_sub (self)
 
def test_mul (self)
 
def test_div (self)
 
def test_zeroden_Exception (self)
 
def test_float_Exception (self)
 

Public Attributes

 f1
 
 f2
 

Detailed Description

Class for testing certain aspects of the behavior of the Fracao.

Member Function Documentation

◆ setUp()

def _01a_fracaoTest.FracaoTest.setUp (   self)

Two fraction objects to be used in the tests.

setUp is executed before EVERY test is run.

◆ test_add()

def _01a_fracaoTest.FracaoTest.test_add (   self)

◆ test_div()

def _01a_fracaoTest.FracaoTest.test_div (   self)

◆ test_eq()

def _01a_fracaoTest.FracaoTest.test_eq (   self)

◆ test_float_Exception()

def _01a_fracaoTest.FracaoTest.test_float_Exception (   self)

◆ test_iadd()

def _01a_fracaoTest.FracaoTest.test_iadd (   self)

◆ test_mul()

def _01a_fracaoTest.FracaoTest.test_mul (   self)

◆ test_rdiv()

def _01a_fracaoTest.FracaoTest.test_rdiv (   self)

◆ test_reduce()

def _01a_fracaoTest.FracaoTest.test_reduce (   self)

◆ test_rop()

def _01a_fracaoTest.FracaoTest.test_rop (   self)

◆ test_sub()

def _01a_fracaoTest.FracaoTest.test_sub (   self)

◆ test_zeroden_Exception()

def _01a_fracaoTest.FracaoTest.test_zeroden_Exception (   self)

Member Data Documentation

◆ f1

_01a_fracaoTest.FracaoTest.f1

◆ f2

_01a_fracaoTest.FracaoTest.f2

The documentation for this class was generated from the following file: