Sha256: 9bb3a11bf2bd6c5ae1ce64e700953f75a1518ba727a73dc3fa3a0b523920586d
Contents?: true
Size: 930 Bytes
Versions: 1
Compression:
Stored size: 930 Bytes
Contents
import org.junit.Test; import org.junit.Ignore; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; public class PangramTest { @Test public void emptySentence() { assertFalse(Pangrams.isPangram("")); } @Ignore @Test public void testLowercasePangram() { assertTrue(Pangrams.isPangram("the quick brown fox jumps over the lazy dog")); } @Ignore @Test public void missingCharacterX() { assertFalse(Pangrams.isPangram("a quick movement of the enemy will jeopardize five gunboats")); } @Ignore @Test public void mixedCaseAndPunctuation() { assertTrue(Pangrams.isPangram("\"Five quacking Zephyrs jolt my wax bed.\"")); } @Ignore @Test public void nonAsciiCharacters() { assertTrue(Pangrams.isPangram("Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich.")); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trackler-1.0.0 | tracks/java/exercises/pangram/src/test/java/PangramTest.java |