Sha256: 16bb57e55ee600435cbe0a685a649a0219238a8af383d167f88525ab708c45ab
Contents?: true
Size: 1.51 KB
Versions: 300
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
300 entries across 300 versions & 1 rubygems