<commit_before>package com.ldaniels528.verify

import CommandParser._

/**
 * Verify Command Parser Test
 * @author <NAME> <<EMAIL>>
 */
class CommandParserTest() {
  import org.junit.{ Assert, Test }
  import org.slf4j.LoggerFactory

  private val logger = LoggerFactory.getLogger(getClass())

  @Test
  def testSymbols() {
    logger.info("")
    logger.info("Testing line symbols:")

    val line = "!100"
    val toks = parse(line)

    val output = (1 to toks.size) zip toks
    output foreach {
      case (n, tok) =>
        logger.info(f"[$n%02d] tok: $tok")
    }
  }

  @Test
  def testSingle() {
    logger.info("")
    logger.info("Testing a single argument:")

    val line = "kls"
    val toks = parse(line)

    val output = (1 to toks.size) zip toks
    output foreach {
      case (n, tok) =>
        logger.info(f"[$n%02d] tok: $tok")
    }

    Assert.assertTrue(toks.size == 1)
  }

  @Test<commit_msg>added test constraint<commit_after>package com.ldaniels528.verify

import CommandParser._

/**
 * Verify Command Parser Test
 * @author <NAME> <<EMAIL>>
 */
class CommandParserTest() {
  import org.junit.{ Assert, Test }
  import org.slf4j.LoggerFactory

  private val logger = LoggerFactory.getLogger(getClass())

  @Test
  def testSymbols() {
    logger.info("")
    logger.info("Testing line symbols:")

    val line = "!100"
    val toks = parse(line)

    val output = (1 to toks.size) zip toks
    output foreach {
      case (n, tok) =>
        logger.info(f"[$n%02d] tok: $tok")
    }

    Assert.assertTrue(toks.size == 2)
  }

  @Test
  def testSingle() {
    logger.info("")
    logger.info("Testing a single argument:")

    val line = "kls"
    val toks = parse(line)

    val output = (1 to toks.size) zip toks
    output foreach {
      case (n, tok) =>
        logger.info(f"[$n%02d] tok: $tok")
    }

    Assert.assertTrue(toks.size == 1)
  }

  @Test
{'fraction_non_alphanumeric': 0.1427815970386039, 'fraction_numerical': 0.015335801163405606, 'mean_word_length': 2.717092337917485, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '4822434', 'n_tokens_mistral': 682, 'n_tokens_neox': 650, 'n_words': 169}