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