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

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

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

Public Member Functions

def setUp (self)
 Two fraction objects to be used in the tests. More...
 
def test_str (self)
 
def test_repr (self)
 
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_getitem (self)
 
def test_setitem (self)
 
def test_zeroden_Exception (self)
 
def test_float_Exception (self)
 
def test_ioerror_Exception (self)
 

Public Attributes

 f1
 
 f2
 
 f3
 

Detailed Description

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

Member Function Documentation

◆ setUp()

def _01e_fracoesTest.FracaoTest.setUp (   self)

Two fraction objects to be used in the tests.

setUp is executed before EVERY test is run.

◆ test_add()

def _01e_fracoesTest.FracaoTest.test_add (   self)

◆ test_div()

def _01e_fracoesTest.FracaoTest.test_div (   self)

◆ test_eq()

def _01e_fracoesTest.FracaoTest.test_eq (   self)

◆ test_float_Exception()

def _01e_fracoesTest.FracaoTest.test_float_Exception (   self)

◆ test_getitem()

def _01e_fracoesTest.FracaoTest.test_getitem (   self)

◆ test_iadd()

def _01e_fracoesTest.FracaoTest.test_iadd (   self)

◆ test_ioerror_Exception()

def _01e_fracoesTest.FracaoTest.test_ioerror_Exception (   self)

◆ test_mul()

def _01e_fracoesTest.FracaoTest.test_mul (   self)

◆ test_rdiv()

def _01e_fracoesTest.FracaoTest.test_rdiv (   self)

◆ test_reduce()

def _01e_fracoesTest.FracaoTest.test_reduce (   self)

◆ test_repr()

def _01e_fracoesTest.FracaoTest.test_repr (   self)

◆ test_rop()

def _01e_fracoesTest.FracaoTest.test_rop (   self)

◆ test_setitem()

def _01e_fracoesTest.FracaoTest.test_setitem (   self)

◆ test_str()

def _01e_fracoesTest.FracaoTest.test_str (   self)

◆ test_sub()

def _01e_fracoesTest.FracaoTest.test_sub (   self)

◆ test_zeroden_Exception()

def _01e_fracoesTest.FracaoTest.test_zeroden_Exception (   self)

Member Data Documentation

◆ f1

_01e_fracoesTest.FracaoTest.f1

◆ f2

_01e_fracoesTest.FracaoTest.f2

◆ f3

_01e_fracoesTest.FracaoTest.f3

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