<commit_before>var NumberUtil = require('../number-util');

describe('NumberUtil...', function() {

  it('can determine if a number is a float', function() {
    expect(NumberUtil.isFloat).toBeDefined();
    expect(NumberUtil.isFloat()).toBeFalsy();
    expect(NumberUtil.isFloat(undefined)).toBeFalsy();
    expect(NumberUtil.isFloat(0)).toBeFalsy();
    expect(NumberUtil.isFloat(1)).toBeFalsy();
    expect(NumberUtil.isFloat(null)).toBeFalsy();
    expect(NumberUtil.isFloat(NaN)).toBeFalsy();
    expect(NumberUtil.isFloat(Infinity)).toBeFalsy();
    expect(NumberUtil.isFloat(Number.MIN_VALUE)).toBeFalsy();
    expect(NumberUtil.isFloat(Number.MAX_VALUE)).toBeFalsy();
    expect(NumberUtil.isFloat(Number.NEGATIVE_INFINITY)).toBeFalsy();
    expect(NumberUtil.isFloat(Number.POSITIVE_INFINITY)).toBeFalsy();
    expect(NumberUtil.isFloat(1234.5678).toBeTruthy();
    expect(NumberUtil.isFloat(-1234.5678)).toBeTruthy();
  });

});<commit_msg>fixed exploding typo in number util test<commit_after>var NumberUtil = require('../number-util');

describe('NumberUtil...', function() {

  it('can determine if a number is a float', function() {
    expect(NumberUtil.isFloat).toBeDefined();
    expect(NumberUtil.isFloat()).toBeFalsy();
    expect(NumberUtil.isFloat(undefined)).toBeFalsy();
    expect(NumberUtil.isFloat(0)).toBeFalsy();
    expect(NumberUtil.isFloat(1)).toBeFalsy();
    expect(NumberUtil.isFloat(null)).toBeFalsy();
    expect(NumberUtil.isFloat(NaN)).toBeFalsy();
    expect(NumberUtil.isFloat(Infinity)).toBeFalsy();
    expect(NumberUtil.isFloat(Number.MIN_VALUE)).toBeFalsy();
    expect(NumberUtil.isFloat(Number.MAX_VALUE)).toBeFalsy();
    expect(NumberUtil.isFloat(Number.NEGATIVE_INFINITY)).toBeFalsy();
    expect(NumberUtil.isFloat(Number.POSITIVE_INFINITY)).toBeFalsy();
    expect(NumberUtil.isFloat(1234.5678)).toBeTruthy();
    expect(NumberUtil.isFloat(-1234.5678)).toBeTruthy();
  });

});
{'fraction_non_alphanumeric': 0.17271784232365145, 'fraction_numerical': 0.01867219917012448, 'mean_word_length': 5.864768683274021, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2543757', 'n_tokens_mistral': 667, 'n_tokens_neox': 640, 'n_words': 62}