<commit_before>suite('LengthValue', function() {
  test('fromDictionary returns instanceof a LengthValue and StyleValue', function() {
    var fromDictionary = (new LengthValue()).fromDictionary(9.2, 'px');
    assert.instanceOf(fromDictionary, SimpleLength, 'A new fromDictionary should be an instance of SimpleLength');
    assert.instanceOf(fromDictionary, LengthValue, 'A new fromDictionary should be an instance of LengthValue');
    assert.instanceOf(fromDictionary, StyleValue, 'A new fromDictionary should be an instance of StyleValue');
  });

  test('fromDictionary returns instanceof a LengthValue and StyleValue', function() {
    var fromDictionary = (new LengthValue()).fromDictionary({px: 10});
    assert.instanceOf(fromDictionary, CalcLength, 'A new fromDictionary should be an instance of CalcLength');
    assert.instanceOf(fromDictionary, LengthValue, 'A new fromDictionary should be an instance of LengthValue');
    assert.instanceOf(fromDictionary, StyleValue, 'A new fromDictionary should be an instance of StyleValue');
  });
});
<commit_msg>Fixed broken test case in length-value.js Last commit accedentaly changed a method witch broke a test in length-value.jsthis commit fixes this issue<commit_after>suite('LengthValue', function() {
  test('fromDictionary returns instanceof a LengthValue and StyleValue', function() {
    var fromDictionary = (new LengthValue()).fromValue(9.2, 'px');
    assert.instanceOf(fromDictionary, SimpleLength, 'A new fromDictionary should be an instance of SimpleLength');
    assert.instanceOf(fromDictionary, LengthValue, 'A new fromDictionary should be an instance of LengthValue');
    assert.instanceOf(fromDictionary, StyleValue, 'A new fromDictionary should be an instance of StyleValue');
  });

  test('fromDictionary returns instanceof a LengthValue and StyleValue', function() {
    var fromDictionary = (new LengthValue()).fromDictionary({px: 10});
    assert.instanceOf(fromDictionary, CalcLength, 'A new fromDictionary should be an instance of CalcLength');
    assert.instanceOf(fromDictionary, LengthValue, 'A new fromDictionary should be an instance of LengthValue');
    assert.instanceOf(fromDictionary, StyleValue, 'A new fromDictionary should be an instance of StyleValue');
  });
});

{'fraction_non_alphanumeric': 0.09540636042402827, 'fraction_numerical': 0.0035335689045936395, 'mean_word_length': 5.863636363636363, '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': '5360765', 'n_tokens_mistral': 558, 'n_tokens_neox': 550, 'n_words': 209}