Beispiel #1
0
 def testExperimenter(self):
     p = ParametersI()
     p.exp(rlong(1))
     self.assertTrue(p.isExperimenter())
     self.assertEquals(p.getExperimenter().getValue(), 1L)
     p.allExps()
     self.assertFalse(p.isExperimenter())
 def testExperimenter(self):
     p = ParametersI()
     p.exp(rlong(1))
     assert p.isExperimenter()
     assert p.getExperimenter().getValue() == 1L
     p.allExps()
     assert not p.isExperimenter()
Beispiel #3
0
 def testExperimenter(self):
     p = ParametersI()
     p.exp(rlong(1))
     assert p.isExperimenter()
     assert p.getExperimenter().getValue() == 1
     p.allExps()
     assert not p.isExperimenter()
 def testExperimenter(self):
     p = ParametersI()
     p.exp(rlong(1))
     self.assertTrue(p.isExperimenter())
     self.assertEquals(p.getExperimenter().getValue(), 1L)
     p.allExps()
     self.assertFalse(p.isExperimenter())
Beispiel #5
0
 def testDefaults(self):
     p = ParametersI()
     # Removed: self.assertFalse(p.isLeaves())
     self.assertFalse(p.isGroup())
     self.assertFalse(p.isExperimenter())
     self.assertFalse(p.isEndTime())
     self.assertFalse(p.isStartTime())
     self.assertFalse(p.isPagination())
     self.assertFalse(p.getUnique())
 def testDefaults(self):
     p = ParametersI()
     # Removed: assert not p.isLeaves()
     assert not p.isGroup()
     assert not p.isExperimenter()
     assert not p.isEndTime()
     assert not p.isStartTime()
     assert not p.isPagination()
     assert not p.getUnique()