<commit_before>import Pangram from './pangram';

describe('Pangram()', () => {

  it('empty sentence', () => {
    const pangram = new Pangram('');
    expect(pangram.isPangram()).toBe(false);
  });

  xit('pangram with only lower case', () => {
    const pangram = new Pangram("the quick brown fox jumps over the lazy dog");
    expect(pangram.isPangram()).toBe(true);
  });

  xit("missing character 'x'", () => {
    const pangram = new Pangram("a quick movement of the enemy will jeopardize five gunboats");
    expect(pangram.isPangram()).toBe(false);
  });

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

  xit('pangram with non-ascii characters', () => {
    const pangram = new Pangram("<NAME> zwölf Boxkämpfer quer über den großen Sylter Deich.");
    expect(pangram.isPangram()).toBe(true);
  });<commit_msg>Add tests to Pangram<commit_after>import Pangram from './pangram';

describe('Pangram()', () => {

  it('empty sentence', () => {
    const pangram = new Pangram('');
    expect(pangram.isPangram()).toBe(false);
  });

  xit('pangram with only lower case', () => {
    const pangram = new Pangram("the quick brown fox jumps over the lazy dog");
    expect(pangram.isPangram()).toBe(true);
  });

  xit("missing character 'x'", () => {
    const pangram = new Pangram("a quick movement of the enemy will jeopardize five gunboats");
    expect(pangram.isPangram()).toBe(false);
  });

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

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

  xit("pangram with numbers", () => {
    const 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', () => {
    const pangram = new Pangram("7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog");
    expect(pangram.isPangram()).toBe(false);
  });

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

  xit('pangram with non-ascii characters', () => {
    const pangram = new Pangram("<NAME> zwölf Boxkämpfer quer über den großen Sylter Deich.");
    expect(pangram.isPangram()).toBe(true);
  });
{'fraction_non_alphanumeric': 0.16698292220113853, 'fraction_numerical': 0.0030360531309297912, 'mean_word_length': 4.001897533206831, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4533126', 'n_tokens_mistral': 942, 'n_tokens_neox': 883, 'n_words': 226}