<commit_before>const {expect} = require('chai');

const Tokenizer = require('../src/tokenizer'); 

describe('Tokenizer', () => {
  it('ignores whitespace at the beginning of an expression', () => {
    expect(1).to.equal(2);
  });

  it('uses exclusively whitespace to group tokens', () => {
    // x^2 != x ^ 2
    expect(1).to.equal(2);
  });

  it('allows the use of parenthesis with or without whitespace', () => {
    expect(1).to.equal(2);
  });

  it('allows the use of backslash with or without whitespace', () => {
    expect(1).to.equal(2);
  });

  it('accepts all characters valid for symbols', () => {
    expect(1).to.equal(2);
  });

  it('rejects all characters invalid for symbols', () => {
    expect(1).to.equal(2);
  });

  it('it accepts all basic operators as valid symbols', () => {
    // +, -, *, /, ^, ++, --, ==, >=, <=
    expect(1).to.equal(2);
  });
});<commit_msg>Stubbed out another test to make sure equals is parsed out right<commit_after>const {expect} = require('chai');

const Tokenizer = require('../src/tokenizer'); 

describe('Tokenizer', () => {
  it('ignores whitespace at the beginning of an expression', () => {
    expect(1).to.equal(2);
  });

  it('uses exclusively whitespace to group tokens', () => {
    // x^2 != x ^ 2
    expect(1).to.equal(2);
  });

  it('allows the use of parenthesis with or without whitespace', () => {
    expect(1).to.equal(2);
  });

  it('allows the use of backslash with or without whitespace', () => {
    expect(1).to.equal(2);
  });

  it('distinguishes between equals surrounded by symbol characters and equals surrounded by whitespace', () => {
    // ` = 2` is not ` =2`
    expect(1).to.equal(2);
  });

  it('accepts all characters valid for symbols', () => {
    expect(1).to.equal(2);
  });

  it('rejects all characters invalid for symbols', () => {
    expect(1).to.equal(2);
  });

  it('it accepts all basic operators as valid symbols', () => {
    // +, -, *, /, ^, ++, --, ==, >=, <=
    expect(1).to.equal(2);
  });
});
{'fraction_non_alphanumeric': 0.20992555831265508, 'fraction_numerical': 0.017866004962779156, 'mean_word_length': 3.165289256198347, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4706127', 'n_tokens_mistral': 682, 'n_tokens_neox': 656, 'n_words': 166}