def testTimes(self): p = ParametersI() self.assertNull(p.theFilter) p.startTime(rtime(0)) self.assertNotNull(p.theFilter) self.assertNotNull(p.theFilter.startTime) p.endTime(rtime(1)) self.assertNotNull(p.theFilter.endTime) p.allTimes() self.assertNotNull(p.theFilter) self.assertNull(p.theFilter.startTime) self.assertNull(p.theFilter.endTime)
def testBasics(self): p = ParametersI() p.exp(rlong(1)) p.grp(rlong(1)) p.endTime(rtime(1))