Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1000495 // Similar structure tests

Document

1  
It would be nice if similarity is commutative.
2  
3  
Requirements:
4  
5  
diff("", "") = 0
6  
diff("", "a") > diff("", """)
7  
diff("one two three", "one two four") > diff("one two three", "one two three")
8  
diff("one two three", "one five four") > diff("one two three", "one three three")
9  
diff("one two three", "one five four") > diff("one two three", "one three four")

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1000495
Snippet name: Similar structure tests
Eternal ID of this version: #1000495/1
Text MD5: 51007b1cf49d38bce86b99d619c1a73c
Author: stefan
Category:
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-09 16:46:17
Source code size: 361 bytes / 9 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 484 / 99
Referenced in: [show references]