<commit_before>describe("analizOfNumber", function() {
  it("numbers divisible by 3 become 'ping'", function() {
    expect(analizOfNumber(6)).to.equal("ping");
  });

  it("numbers divisible by 5 become 'pong'", function() {
    expect(analizOfNumber(10)).to.equal("pong");
  });

  it("numbers divisible by 3 and 5 become 'pingpong'", function() {
    expect(analizOfNumber(15)).to.equal("pingpong");
  });

  it("number divisible by 3 and 5 have to be only 'pingpong'", function() {
    expect(analizOfNumber(30)).to.equal("pingpong");
  });

  it("number not divisible by 3 or 5 supposed to stay number", function() {
    expect(analizOfNumber(26)).to.equal(26);
  });
});

describe("pingPongSequence", function() {
  it("chosen number must be equal to sequence of elements according rulls", function() {
    expect(pingPongSequence(16)).to.eql([1, 2, "ping", 4, "pong", "ping", 7, 8, "ping", "pong", 11, "ping", 13, 14, "pingpong", 16]);<commit_msg>add test code to check array length<commit_after>describe("analizOfNumber", function() {
  it("numbers divisible by 3 become 'ping'", function() {
    expect(analizOfNumber(6)).to.equal("ping");
  });

  it("numbers divisible by 5 become 'pong'", function() {
    expect(analizOfNumber(10)).to.equal("pong");
  });

  it("numbers divisible by 3 and 5 become 'pingpong'", function() {
    expect(analizOfNumber(15)).to.equal("pingpong");
  });

  it("number divisible by 3 and 5 have to be only 'pingpong'", function() {
    expect(analizOfNumber(30)).to.equal("pingpong");
  });

  it("number not divisible by 3 or 5 supposed to stay number", function() {
    expect(analizOfNumber(26)).to.equal(26);
  });
});

describe("pingPongSequence", function() {
  it("array length must be equal to user input", function () {
    expect(pingPongSequence(103)).to.have.length(103);
  });

  it("chosen number must be equal to sequence of elements according rulls", function() {
    expect(pingPongSequence(16)).to.eql([1, 2, "ping", 4, "pong", "ping", 7, 8, "ping", "pong", 11, "ping", 13, 14, "pingpong", 16]);
{'fraction_non_alphanumeric': 0.1829683698296837, 'fraction_numerical': 0.03600973236009732, 'mean_word_length': 4.840909090909091, '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': '1491654', 'n_tokens_mistral': 748, 'n_tokens_neox': 678, 'n_words': 183}