<commit_before>var poor = utils.unexpected({bool: true});

function assert(a, arr) {
  a.related.should.be.an.instanceof(Array);
  a.related.should.eql(arr);
}

it('should works', function() {
  var a = new Yamb(data.update);
  var b = new Yamb();
  var c = new Yamb();

  c.related = [b, ' ', a];

  assert(c, [100]);
});

it('should work with number', function() {<commit_msg>More tests for related property<commit_after>var poor = utils.unexpected({bool: true});
poor.push([[1, 2], [3, 4], [5, 6]]);

function assert(a, arr) {
  a.related.should.be.an.instanceof(Array);
  a.related.should.eql(arr);
}

it('should works', function() {
  var a = new Yamb(data.update);
  var b = new Yamb();
  var c = new Yamb();

  c.related = [b, ' ', a, 200];

  assert(c, [100, 200]);
});

it('should work with yamb', function() {
  var a = new Yamb(data.update);
  var b = new Yamb();

  b.related = a;
  assert(b, [100]);
});

it('should work with number', function() {
{'fraction_non_alphanumeric': 0.20520833333333333, 'fraction_numerical': 0.021875, 'mean_word_length': 3.8535353535353534, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5070674', 'n_tokens_mistral': 383, 'n_tokens_neox': 363, 'n_words': 97}