switch to GPL (for complience with wikidiff2) add the code.
This commit is contained in:
15
test/test_pywikidiff2.py
Normal file
15
test/test_pywikidiff2.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import pywikidiff2
|
||||
|
||||
obj = pywikidiff2.pywikidiff2()
|
||||
obj = pywikidiff2.pywikidiff2(numContextLines=100000)
|
||||
print(obj.num_context_lines())
|
||||
print(obj.moved_line_threshold())
|
||||
print(obj.change_threshold())
|
||||
print(obj.moved_paragraph_detection_cutoff())
|
||||
print(obj.max_split_size())
|
||||
print(obj.initial_split_threshold())
|
||||
print(obj.final_split_threshold())
|
||||
|
||||
res = obj.inline_json_diff("help! I'm alive", "help! dead I am")
|
||||
print('\n')
|
||||
print(res)
|
||||
Reference in New Issue
Block a user