Example #1
0
 def testAggregate6(self) :
   self.assertEqual(25, aggregate(add, 15, self.numberList))
Example #2
0
 def testAggregate4(self) :
   self.assertEqual("seedabcd", aggregate(concat, "seed", self.stringIterator()))
Example #3
0
 def testAggregate5(self) :
   self.assertEqual(10, aggregate(add, 0, self.numberList))
Example #4
0
 def testAggregate2(self) :
   self.assertEqual("seedabcd", aggregate(concat, "seed", self.stringList))
Example #5
0
 def testAggregate3(self) :
   self.assertEqual("abcd", aggregate(concat, "", self.stringIterator()))
Example #6
0
 def testAggregate9(self) :
   self.assertEqual(10, aggregate(add, 10, []))
Example #7
0
 def testAggregate2(self):
     self.assertEqual("seedabcd", aggregate(concat, "seed",
                                            self.stringList))
Example #8
0
 def testAggregate8(self):
     self.assertEqual(25, aggregate(add, 15, self.numberIterator()))
Example #9
0
 def testAggregate9(self):
     self.assertEqual(10, aggregate(add, 10, []))
Example #10
0
 def testAggregate6(self):
     self.assertEqual(25, aggregate(add, 15, self.numberList))
Example #11
0
 def testAggregate7(self):
     self.assertEqual(10, aggregate(add, 0, self.numberIterator()))
Example #12
0
 def testAggregate5(self):
     self.assertEqual(10, aggregate(add, 0, self.numberList))
Example #13
0
 def testAggregate4(self):
     self.assertEqual("seedabcd",
                      aggregate(concat, "seed", self.stringIterator()))
Example #14
0
 def testAggregate3(self):
     self.assertEqual("abcd", aggregate(concat, "", self.stringIterator()))
Example #15
0
 def testAggregate7(self) :
   self.assertEqual(10, aggregate(add, 0, self.numberIterator()))
Example #16
0
 def testAggregate9(self):
     self.assertEqual(10, aggregate(add, 10, self.emptyIterator()))
Example #17
0
 def testAggregate8(self) :
   self.assertEqual(25, aggregate(add, 15, self.numberIterator()))
Example #18
0
 def testAggregate1(self) :
   self.assertEqual("abcd", aggregate(concat, "", self.stringList))
Example #19
0
 def testAggregate9(self) :
   self.assertEqual(10, aggregate(add, 10, self.emptyIterator()))
Example #20
0
 def testAggregate1(self):
     self.assertEqual("abcd", aggregate(concat, "", self.stringList))