<commit_before>var test = require('mocha').it,
    expect = require('chai').expect, // Use `expect(X).to.be` et al
    assert = require('chai').assert;  // OR use `assert.equal` etc



test(/*'getting a list of multiples of 3', */function () {
  expect(ten()).to.be(0, 3, 6, 9);
  expect(twenty()).to.be(0, 3, 6, 9, 12, 15, 18);
  expect(thirty()).to.be(0, 3, 6, 9, 12, 15, 18, 21, 24, 27);
});


function ten(){
  var count = 0;
  var values = '';
  for(var i = 0; i < 10; i ++) {
    if (i % 3 === 0) {
      values += (i); // TODO maybe add continue? HOW DO I LOOP ALL VALUES AND RETURN THEM!!!???
    }
  }
  return values [i];
};

function twenty(){
  var count = 0;
  for(var i = 0; i < 20; i ++) {
    if (i % 3 === 0) {
      console.log(i);
    }
  }
};

function thirty(){
  var count = 0;
  for(var i = 0; i < 30; i ++) {
    if (i % 3 === 0) {
      console.log(i);
    }
  }
};

// END test 3s
<commit_msg>ten now returns all values<commit_after>var test = require('mocha').it,
    expect = require('chai').expect, // Use `expect(X).to.be` et al
    assert = require('chai').assert;  // OR use `assert.equal` etc



test(/*'getting a list of multiples of 3', */function () {
  expect(ten()).to.be(0, 3, 6, 9);
  expect(twenty()).to.be(0, 3, 6, 9, 12, 15, 18);
  expect(thirty()).to.be(0, 3, 6, 9, 12, 15, 18, 21, 24, 27);
});


function ten(){
  var count = 0;
  var values = '';
  for(var i = 0; i < 10; i ++) {
    if (i % 3 === 0) {
      values += (i); 
    }
  }
  return values;
};

function twenty(){
  var count = 0;
  for(var i = 0; i < 20; i ++) {
    if (i % 3 === 0) {
      console.log(i);
    }
  }
};

function thirty(){
  var count = 0;
  for(var i = 0; i < 30; i ++) {
    if (i % 3 === 0) {
      console.log(i);
    }
  }
};

// END test 3s

{'fraction_non_alphanumeric': 0.22165820642978004, 'fraction_numerical': 0.05640157924421884, 'mean_word_length': 2.340866290018832, 'pattern_counts': {'":': 0, '<': 9, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6736302', 'n_tokens_mistral': 823, 'n_tokens_neox': 713, 'n_words': 218}