CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
value_test.ValueTestCase Class Reference
Inheritance diagram for value_test.ValueTestCase:

Public Member Functions

def test
 
def test_equal
 

Detailed Description

Definition at line 6 of file value_test.py.

Member Function Documentation

def value_test.ValueTestCase.test (   self)

Definition at line 8 of file value_test.py.

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

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

Definition at line 15 of file value_test.py.

15 
16  def test_equal(self):
17  val1 = Value(1.,0.02)
18  val2 = Value(1.,0.02)
19  self.assertEqual(val1, val2)
reco::JetExtendedAssociation::JetExtendedData Value