<commit_before>package jezuk

import jezuk.mango.Mango

class ConcatTest extends spock.lang.Specification {
  def "concat 2 test"() {
    expect:
      Mango.concat(Mango.from(first), Mango.from(second)).toList() == result

    where:
      first    | second   | result
      [1]      | [2]      | [1,2]
      [1,2]    | [3]      | [1,2,3]
      [1]      | [2,3]    | [1,2,3]
      [1]      | []       | [1]
      [1,2]    | []       | [1,2]
      []       | [1]      | [1]
      []       | [1,2]    | [1,2]
      []       | []       | []
  }

  def "concat 3 test"() {
    expect:
      Mango.concat(Mango.from(first), Mango.from(second), Mango.from(third)).toList() == result

    where:
      first    | second   | third    | result
      [1]      | [2]      | [1,2]    | [1,2,1,2]
      [1,2]    | [3]      | [1,2,3]  | [1,2,3,1,2,3]
      [1]      | [2,3]    | [1,2,3]  | [1,2,3,1,2,3]
      [1]      | []       | [1]      | [1,1]
      [1,2]    | []       | [1,2]    | [1,2,1,2]
      []       | [1]      | [1]      | [1,1]<commit_msg>None match<commit_after>package jezuk

import jezuk.mango.Mango

class ConcatTest extends spock.lang.Specification {
  def "concat 2 test"() {
    expect:
      Mango.concat(Mango.from(first), Mango.from(second)).toList() == result
      Mango.concat(Mango.from(first)).concat(Mango.from(second)).toList() == result

    where:
      first    | second   | result
      [1]      | [2]      | [1,2]
      [1,2]    | [3]      | [1,2,3]
      [1]      | [2,3]    | [1,2,3]
      [1]      | []       | [1]
      [1,2]    | []       | [1,2]
      []       | [1]      | [1]
      []       | [1,2]    | [1,2]
      []       | []       | []
  }

  def "concat 3 test"() {
    expect:
      Mango.concat(Mango.from(first), Mango.from(second), Mango.from(third)).toList() == result

    where:
      first    | second   | third    | result
      [1]      | [2]      | [1,2]    | [1,2,1,2]
      [1,2]    | [3]      | [1,2,3]  | [1,2,3,1,2,3]
      [1]      | [2,3]    | [1,2,3]  | [1,2,3,1,2,3]
      [1]      | []       | [1]      | [1,1]
      [1,2]    | []       | [1,2]    | [1,2,1,2]
      []       | [1]      | [1]      | [1,1]
{'fraction_non_alphanumeric': 0.22052704576976423, 'fraction_numerical': 0.07212205270457697, 'mean_word_length': 1.4151785714285714, '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': '6327009', 'n_tokens_mistral': 947, 'n_tokens_neox': 936, 'n_words': 146}