MCPcopy Create free account
hub / github.com/TheAlgorithms/Java / main

Method main

src/main/java/com/thealgorithms/strings/Pangram.java:15–20  ·  view source on GitHub ↗

Test code

(String[] args)

Source from the content-addressed store, hash-verified

13 * Test code
14 */
15 public static void main(String[] args) {
16 assert isPangram("The quick brown fox jumps over the lazy dog");
17 assert !isPangram("The quick brown fox jumps over the azy dog"); // L is missing
18 assert !isPangram("+-1234 This string is not alphabetical");
19 assert !isPangram("\u0000/\\");
20 }
21
22 /**
23 * Checks if a String is considered a Pangram

Callers

nothing calls this directly

Calls 1

isPangramMethod · 0.95

Tested by

no test coverage detected