def _compare_all_data_between_schemes(_from, _to):
def compare_group(_from, _to, group):<EOL><INDENT>"""<STR_LIT>"""<EOL>source = DATA[_from][group]<EOL>actual = '<STR_LIT:U+0020>'.join(sanscript.transliterate(source, _from, _to).split())<EOL>expected = '<STR_LIT:U+0020>'.join(DATA[_to][group].split())<EOL>assert expected == actual, "<STR_LIT>" % (_from, _to, expected, actual)<EOL><DEDENT>for group in DATA[_from]:<EOL><INDENT>if _to in DATA and group in DATA[_to]:<EOL><INDENT>compare_group(_from, _to, group)<EOL><DEDENT><DEDENT>
Compare all data for `_from` and `_to`