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