Example #1
0
 def run(self):
     """Run test"""
     it = iterreduce(self._input_source, self._callable)
     for output in it:
         exp_out = self._output_source.next()
         assert output == exp_out, \
                "Output {0} did not match expected output: {1}".format(\
                    output, exp_out)     
 def run(self):
     """Run test"""
     it = iterreduce(self._input_source, self._callable)
     for output in it:
         exp_out = self._output_source.next()
         assert output == exp_out, \
                "Output {0} did not match expected output: {1}".format(\
                    output, exp_out)
Example #3
0
 def run(self):
     """Run test"""
     assert_iters_equal(self._output_source,
                        iterreduce(self._input_source, self._callable))
Example #4
0
 def run(self):
     """Run test"""
     assert_iters_equal(self._output_source, iterreduce(self._input_source, self._callable))