<commit_before>var HexToDec = require('./hex-to-dec')

describe("Hexadecimal to Decimal", function(){
  
})<commit_msg>Add HexToDec tests<commit_after>var HexToDec = require('./hex-to-dec')

describe("Hexadecimal to Decimal", function(){
  it("Test 1", function(){
    var hexDec = new HexToDec();
    expect(hexDec.hextoDec("1")).toEqual(1);
  });

  it("Test 2", function(){
    var hexDec = new HexToDec();
    expect(hexDec.hextoDec("a")).toEqual(10);
  });

  it("Test 3", function(){
    var hexDec = new HexToDec();
    expect(hexDec.hextoDec("10")).toEqual(16);
  });

  it("Test 4", function(){
    var hexDec = new HexToDec();
    expect(hexDec.hextoDec("FF")).toEqual(255);
  });

  it("Test 5", function(){
    var hexDec = new HexToDec();
    expect(hexDec.hextoDec("-C")).toEqual(12);
  });

})
{'fraction_non_alphanumeric': 0.2079207920792079, 'fraction_numerical': 0.022277227722772276, 'mean_word_length': 4.120253164556962, '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': '7575674', 'n_tokens_mistral': 317, 'n_tokens_neox': 297, 'n_words': 56}