def test_print_first_3 (self) : w = StringIO.StringIO() collatz_print_first(w, 100, 10, 20) self.assert_(w.getvalue() == "100 10 20")
def test_print_first_3(self): w = StringIO.StringIO() collatz_print_first(w, 100, 10, 20) self.assert_(w.getvalue() == "100 10 20")
def test_print_first_2 (self) : w = StringIO.StringIO() collatz_print_first(w, 20, 30, 40) self.assert_(w.getvalue() == "20 30 40")
def test_print_first_2(self): w = StringIO.StringIO() collatz_print_first(w, 20, 30, 40) self.assert_(w.getvalue() == "20 30 40")