<commit_before>require_relative '../../lib/vm/core'
require_relative '../../lib/vm/cli_bus'

describe Core do

  def integer(value)
    Operand.integer(value)
  end

  def a
    Operand.a
  end

  def io_in
    Operand.in
  end

  def io_out
    Operand.out
  end

  def core(number)
    Operand.cpu(number)
  end

  def add(value)
    UnaryInstruction.new(:add, value)
  end

  def sub(value)
    UnaryInstruction.new(:sub, value)
  end

  def jmp(target)
    JumpInstruction.new(:jmp, target)
  end

  def mov(dst, src)
    BinaryInstruction.new(:mov, dst, src)<commit_msg>Removed unused method from core_spec.rb<commit_after>require_relative '../../lib/vm/core'
require_relative '../../lib/vm/cli_bus'

describe Core do

  def integer(value)
    Operand.integer(value)
  end

  def a
    Operand.a
  end

  def io_in
    Operand.in
  end

  def io_out
    Operand.out
  end

  def add(value)
    UnaryInstruction.new(:add, value)
  end

  def sub(value)
    UnaryInstruction.new(:sub, value)
  end

  def jmp(target)
    JumpInstruction.new(:jmp, target)
  end

  def mov(dst, src)
    BinaryInstruction.new(:mov, dst, src)
{'fraction_non_alphanumeric': 0.11367673179396093, 'fraction_numerical': 0.0, 'mean_word_length': 2.8074324324324325, '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': '1960977', 'n_tokens_mistral': 426, 'n_tokens_neox': 415, 'n_words': 95}