MCPcopy
hub / github.com/skywind3000/ECDICT / test1

Function test1

dictutils.py:1014–1019  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1012if __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')

Callers

nothing calls this directly

Calls 1

word_exchangeMethod · 0.80

Tested by

no test coverage detected