()
| 1012 | if __name__ == '__main__': |
| 1013 | |
| 1014 | def test1(): |
| 1015 | db = stardict.open_local('stardict.db') |
| 1016 | data = db['higher'] |
| 1017 | # data = {'exchange':'p:P/d:D/i:I/0:haha'} |
| 1018 | print(generator.word_exchange(data, 0)) |
| 1019 | print(generator.word_exchange(data, 1)) |
| 1020 | |
| 1021 | def test2(): |
| 1022 | resemble.load('resemble.txt') |
nothing calls this directly
no test coverage detected