<commit_before>var arr = [1, 2, 3, 4, 5]
var head = 1
var last = 5
var init = [1, 2, 3, 4]
var tail = [2, 3, 4, 5]

exports.head = function (lz, assert) {
  assert.equal(arr.lz().head(), head)
}

exports.last = function (lz, assert) {
  assert.equal(arr.lz().last(), last)
}

exports.tail = function (lz, assert) {
  assert.deepEqual(arr.lz().tail().$(), tail)
}

exports.init = function (lz, assert) {
  assert.deepEqual(arr.lz().init().$(), init)
}

exports.elem = function (lz, assert) {
  assert.equal(arr.lz().elem(5), true)
  assert.equal(arr.lz().elem(6), false)
}

exports.notElem = function (lz, assert) {
  assert.equal(arr.lz().notElem(5), false)
  assert.equal(arr.lz().notElem(6), true)
}<commit_msg>Removes notElem from tests<commit_after>var arr = [1, 2, 3, 4, 5]
var head = 1
var last = 5
var init = [1, 2, 3, 4]
var tail = [2, 3, 4, 5]

exports.head = function (lz, assert) {
  assert.equal(arr.lz().head(), head)
}

exports.last = function (lz, assert) {
  assert.equal(arr.lz().last(), last)
}

exports.tail = function (lz, assert) {
  assert.deepEqual(arr.lz().tail().$(), tail)
}

exports.init = function (lz, assert) {
  assert.deepEqual(arr.lz().init().$(), init)
}

exports.elem = function (lz, assert) {
  assert.equal(arr.lz().elem(5), true)
  assert.equal(arr.lz().elem(6), false)
}
{'fraction_non_alphanumeric': 0.21466768525592056, 'fraction_numerical': 0.02750190985485103, 'mean_word_length': 3.9809885931558937, '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': '5173192', 'n_tokens_mistral': 559, 'n_tokens_neox': 533, 'n_words': 125}