def main(): while True: print(line()) if os_release() == '7': pass else: check_new_ver() send = xinput(c.BLUE + ">" + c.GREEN + ">" + c.RED + "> " + c.CYAN) if send == 'c': if_c() elif send == 'e': if_e() elif send == 'z': if_z() elif send == '1': if_1() elif send == '2': if_2() elif send == '3': if_3() elif send == '4': if_4() elif send == '5': if_5() else: if_else()
def test_even_between_2_and_5(self): self.assertEqual(if_else(2), 'Not Weird')
def test_odd(self): self.assertEqual(if_else(3), 'Weird')
def test_even_greater_20(self): self.assertEqual(if_else(22), 'Not Weird')
def test_not_even_greater_20(self): self.assertEqual(if_else(21), 'Weird')
def test_even_between_6_and_20__20(self): self.assertEqual(if_else(20), 'Weird')
def test_not_even_between_2_and_5(self): self.assertEqual(if_else(5), 'Weird')