def test_is_even_3(self):
     b = 6
     self.assert_(is_even(b))
     b += 1
     self.assert_(not is_even(b))
 def test_is_even_2(self):
     a = [101, 103, 105]
     for x in a:
         self.assert_(not is_even(x))
 def test_is_even(self):
     a = [2, 4, 6, 8, 10]
     for x in a:
         self.assert_(is_even(x))
 def test_is_even_3 (self):
     b = 6
     self.assert_(is_even(b))
     b += 1
     self.assert_(not is_even(b))
 def test_is_even_2 (self):
     a = [101, 103, 105]
     for x in a:
         self.assert_(not is_even(x))
 def test_is_even (self):
     a = [2, 4, 6, 8, 10]
     for x in a:
         self.assert_(is_even(x))