<commit_before>var check = require("../app/library.js");
'use strict'
describe("Data types tests ", function() {
  describe("Case for some falsy values", function() {

    it("should return 'no value' for null", function() {
      expect(check.dataTypes(null)).toEqual('no value');
    });

    it("should return 'no value' for undefined", function() {
      expect(check.dataTypes(undefined)).toEqual('no value');
    });
    
    it("should return 'no value' for empty argument", function() {
    	expect(check.dataTypes()).toEqual('no value');
    });

  });

  describe("Case for booleans", function() {

    it("should return true for `true`", function() {
      expect(check.dataTypes(true)).toBe(true);
    });

    it("should return false for `false`", function() {
      expect(check.dataTypes(false)).toBe(false);
    });

  });

  describe("Case for Numbers", function() {

    it("should return 'less than 100' for 44", function() {
      expect(check.dataTypes(44)).toBe('less than 100');
    });

    it("should return 'more than 100' for 144", function() {
      expect(check.dataTypes(144)).toBe('more than 100');
    });

    it("should return 'equal to 100' for 100", function() {
      expect(check.dataTypes(100)).toBe('equal to 100');<commit_msg>Case for empty parameter have been tested<commit_after>var check = require("../app/library.js");
'use strict'
describe("Data types tests ", function() {
  describe("Case for some falsy values", function() {

    it("should return 'no value' for null", function() {
      expect(check.dataTypes(null)).toEqual('no value');
    });

    it("should return 'no value' for undefined", function() {
      expect(check.dataTypes(undefined)).toEqual('no value');
    });
    
    it("should return 'no value' for empty arguments", function() {
    	expect(check.dataTypes()).toEqual('no value');
    });

  });

  describe("Case for booleans", function() {

    it("should return true for `true`", function() {
      expect(check.dataTypes(true)).toBe(true);
    });

    it("should return false for `false`", function() {
      expect(check.dataTypes(false)).toBe(false);
    });

  });

  describe("Case for Numbers", function() {

    it("should return 'less than 100' for 44", function() {
      expect(check.dataTypes(44)).toBe('less than 100');
    });

    it("should return 'more than 100' for 144", function() {
      expect(check.dataTypes(144)).toBe('more than 100');
    });

    it("should return 'equal to 100' for 100", function() {
      expect(check.dataTypes(100)).toBe('equal to 100');
{'fraction_non_alphanumeric': 0.17713616855247757, 'fraction_numerical': 0.026531408505657432, 'mean_word_length': 3.6198198198198197, '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': '6921151', 'n_tokens_mistral': 815, 'n_tokens_neox': 732, 'n_words': 201}