<commit_before>suite('NumberValue', function() {
  test('NumberValue is a NumberValue and a StyleValue', function() {
    var numberVal = new NumberValue(3);
    assert.instanceOf(numberVal, NumberValue, 'A new NumberValue should be an instance of NumberValue');
    assert.instanceOf(numberVal, StyleValue, 'A new NumberValue should be an instance of StyleValue');
  });

  test('NumberValue constructor throws exception for invalid values', function() {
    assert.throws(function() {new NumberValue('a4')});
    assert.throws(function() {new NumberValue({})});
  });

  test('NumberValue constructor works correctly for number and numeric string', function() {
    var numberValFromString;
    assert.doesNotThrow(function() {numberValFromString = new NumberValue('9.2')});
    assert.strictEqual(numberValFromString.cssString, '9.2');
    assert.strictEqual(numberValFromString.value, 9.2);
    var numberValFromNumber;
    assert.doesNotThrow(function() {numberValFromNumber = new NumberValue(10)});
    assert.strictEqual(numberValFromNumber.cssString, '10');
    assert.strictEqual(numberValFromNumber.value, 10);
  });
});
<commit_msg>Wording<commit_after>suite('NumberValue', function() {
  test('NumberValue is a NumberValue and a StyleValue', function() {
    var numberVal = new NumberValue(3);
    assert.instanceOf(numberVal, NumberValue, 'A new NumberValue should be an instance of NumberValue');
    assert.instanceOf(numberVal, StyleValue, 'A new NumberValue should be an instance of StyleValue');
  });

  test('NumberValue constructor throws exception for invalid values', function() {
    assert.throws(function() {new NumberValue('a4')});
    assert.throws(function() {new NumberValue({})});
  });

  test('NumberValue constructor works correctly for numbers and numeric strings', function() {
    var numberValFromString;
    assert.doesNotThrow(function() {numberValFromString = new NumberValue('9.2')});
    assert.strictEqual(numberValFromString.cssString, '9.2');
    assert.strictEqual(numberValFromString.value, 9.2);
    var numberValFromNumber;
    assert.doesNotThrow(function() {numberValFromNumber = new NumberValue(10)});
    assert.strictEqual(numberValFromNumber.cssString, '10');
    assert.strictEqual(numberValFromNumber.value, 10);
  });
});

{'fraction_non_alphanumeric': 0.12620508326029797, 'fraction_numerical': 0.012269938650306749, 'mean_word_length': 5.541547277936963, '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': '4405154', 'n_tokens_mistral': 642, 'n_tokens_neox': 621, 'n_words': 160}