Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #190 from matthewmorgan/update-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rchavarria committed Apr 27, 2016
2 parents e2150eb + 7c2723c commit c348fa8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions exercises/pangram/pangram.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,26 @@ describe('Pangram()', function() {
expect(pangram.isPangram()).toBe(false);
});

xit("another missing character 'x'", function() {
var pangram = new Pangram("the quick brown fish jumps over the lazy dog");
expect(pangram.isPangram()).toBe(false);
});

xit("pangram with underscores", function() {
var pangram = new Pangram("the_quick_brown_fox_jumps_over_the_lazy_dog");
expect(pangram.isPangram()).toBe(true);
});

xit("pangram with numbers", function() {
var pangram = new Pangram("the 1 quick brown fox jumps over the 2 lazy dogs");
expect(pangram.isPangram()).toBe(true);
});

xit('missing letters replaced by numbers', function() {
var pangram = new Pangram("7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog");
expect(pangram.isPangram()).toBe(false);
});

xit('pangram with mixed case and punctuation', function() {
var pangram = new Pangram("\"Five quacking Zephyrs jolt my wax bed.\"");
expect(pangram.isPangram()).toBe(true);
Expand Down

0 comments on commit c348fa8

Please sign in to comment.