Sha256: 439a57df6bc5482197519386c25be783a4ace8580195e97187581dd688f9a4f0

Contents?: true

Size: 651 Bytes

Versions: 3

Compression:

Stored size: 651 Bytes

Contents

###
#
# Tests for string comparison by taxamatch algorithm
#
##

# additional authorship should match
Puma concolor|Puma concolor L.|true

# one-letter misspeling in species epithet should match
Puma concolor|Puma cancolor|true

Pomatomus saltatrix|Pomatomus saltratix|true
Pomatomus saltator|Pomatomus saltatrix|true

Loligo pealeii|Loligo plei|false

# different authors should not match
Puma concolor Linnaeus|Puma concolor Kurtz|false

#real life examples
Biatora borealis|Bactra borealis Diakonoff 1964|false

Homo sapien|Homo sapiens|true
Homo sapiens Linnaeus|Homo sapens (Linn. 1758) |true
Homo sapiens Mozzherin|Homo sapiens Linneaus|false


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dimus-taxamatch_rb-0.5.1 spec/taxamatch_test.txt
dimus-taxamatch_rb-0.5.2 spec/taxamatch_test.txt
dimus-taxamatch_rb-0.5.3 spec/taxamatch_test.txt