<commit_before>package shapeless

import org.scalatest.FunSuite

class ShapelessTet extends FunSuite {

}<commit_msg>implemented hlist test<commit_after>package shapeless

import org.scalatest.FunSuite

case class Value(value: String)

class ShapelessTet extends FunSuite {
  test("hlist") {
    val values = 13 :: "labor" :: Value("work") :: HNil
    val n :: s :: c :: HNil = values
    assert(values.head == 13)
    assert(values.tail == "labor" :: Value("work") :: HNil)
    assert(n == values.select[Int] && n == 13)
    assert(s == values.select[String] && s == "labor")
    assert(c == values.select[Value] && c == Value("work"))
  }
}
{'fraction_non_alphanumeric': 0.1588785046728972, 'fraction_numerical': 0.009345794392523364, 'mean_word_length': 4.103174603174603, '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': '1550810', 'n_tokens_mistral': 225, 'n_tokens_neox': 217, 'n_words': 53}