Sha256: 7b88d043f67858bd1a36479a28f5249bf1c492f625df3b13fa4a21e5e5c57b57
Contents?: true
Size: 1.51 KB
Versions: 96
Compression:
Stored size: 1.51 KB
Contents
<?php require "isogram.php"; class IsogramTest extends PHPUnit_Framework_TestCase { public function testIsogram() { $this->assertTrue(isIsogram('duplicates')); } public function testNotIsogram() { $this->markTestSkipped(); $this->assertFalse(isIsogram('eleven')); } public function testMediumLongIsogram() { $this->markTestSkipped(); $this->assertTrue(isIsogram('subdermatoglyphic')); } public function testCaseInsensitive() { $this->markTestSkipped(); $this->assertFalse(isIsogram('Alphabet')); } public function testIsogramWithHyphen() { $this->markTestSkipped(); $this->assertTrue(isIsogram('thumbscrew-japingly')); } public function testIgnoresMultipleHyphens() { $this->markTestSkipped(); $this->assertTrue(isIsogram('Hjelmqvist-Gryb-Zock-Pfund-Wax')); } public function testWorksWithGermanLetters() { $this->markTestSkipped(); $this->assertTrue(isIsogram('Heizölrückstoßabdämpfung')); } public function testIgnoresSpaces() { $this->markTestSkipped(); $this->assertFalse(isIsogram('the quick brown fox')); } public function testIgnoresSpaces2() { $this->markTestSkipped(); $this->assertTrue(isIsogram('Emily Jung Schwartzkopf')); } public function testDuplicateAccentedLetters() { $this->markTestSkipped(); $this->assertFalse(isIsogram('éléphant')); } }
Version data entries
96 entries across 96 versions & 1 rubygems