CMS 3D CMS Logo

List of all members | Public Member Functions
value_test.ValueTestCase Class Reference
Inheritance diagram for value_test.ValueTestCase:

Public Member Functions

def test (self)
 
def test_equal (self)
 

Detailed Description

Definition at line 5 of file value_test.py.

Member Function Documentation

def value_test.ValueTestCase.test (   self)

Definition at line 7 of file value_test.py.

Referenced by edmIntegrityCheck.IntegrityCheck.report(), and edmIntegrityCheck.IntegrityCheck.structured().

7  def test(self):
8  val1 = Value(1.,0.02)
9  val2 = Value(2.,0.02)
10  val3 = val1 / val2
11  # should test the value and the error after each operation.
12  # I'll write the tests when I have some time
13 
def value_test.ValueTestCase.test_equal (   self)

Definition at line 14 of file value_test.py.

14  def test_equal(self):
15  val1 = Value(1.,0.02)
16  val2 = Value(1.,0.02)
17  self.assertEqual(val1, val2)
18