Sha256: 7eb767147b566a84c914caf25ee1142028a6447ac3c20efb3b6456a59996f9ab
Contents?: true
Size: 869 Bytes
Versions: 41
Compression:
Stored size: 869 Bytes
Contents
import unittest import isogram suite "Isogram": test "empty string": check isIsogram("") == true test "isogram with only lower case characters": check isIsogram("isogram") == true test "word with one duplicated character": check isIsogram("eleven") == false test "longest reported english isogram": check isIsogram("subdermatoglyphic") == true test "word with duplicated character in mixed case": check isIsogram("Alphabet") == false test "hypothetical isogrammic word with hyphen": check isIsogram("thumbscrew-japingly") == true test "isogram with duplicated hyphen": check isIsogram("six-year-old") == true test "made up name that is an isogram": check isIsogram("Emily Jung Schwartzkopf") == true test "duplicated character in the middle": check isIsogram("accentor") == false
Version data entries
41 entries across 41 versions & 1 rubygems