def tests_for_hw2_solution2(): u"""Набор тестов для решения задачи 2 ДЗ#2""" assert hw2_solution2.symmetry_1("abba") assert hw2_solution2.symmetry_1("abrbrba") assert hw2_solution2.symmetry_1("abrbrrba") == False assert hw2_solution2.symmetry_2("abba") assert hw2_solution2.symmetry_2("abrbrba") assert hw2_solution2.symmetry_2("abrbrrba") == False
def runner(): u"""Запускает выполнение всех задач""" print INPUT_1, ">>", hw2_solution1.squares_1(INPUT_1) print INPUT_1, ">>", hw2_solution1.squares_2(INPUT_1) print INPUT_1, ">>", hw2_solution1.squares_3(INPUT_1) print INPUT_2A, ">>", hw2_solution2.symmetry_1(INPUT_2A) print INPUT_2B, ">>", hw2_solution2.symmetry_2(INPUT_2B)