<commit_before>require 'spec_helper'

describe TwoMan::Launcher do

  before do
    @launcher = TwoMan::Launcher.new('console')
  end

  it 'can be initialized'

  describe 'simultaneous' do
    it 'can return false if the keys are not armed' do
      @launcher.simultaneous?.should == false
    end

    it 'can return true when the keys were armed simultaneously' do
      @launcher.keys[:left].arm
      @launcher.keys[:right].arm

      @launcher.simultaneous?.should == true
    end<commit_msg>fix launcher arguments arity<commit_after>require 'spec_helper'

describe TwoMan::Launcher do

  before do
    @launcher = TwoMan::Launcher.new('console', false)
  end

  it 'can be initialized'

  describe 'simultaneous' do
    it 'can return false if the keys are not armed' do
      @launcher.simultaneous?.should == false
    end

    it 'can return true when the keys were armed simultaneously' do
      @launcher.keys[:left].arm
      @launcher.keys[:right].arm

      @launcher.simultaneous?.should == true
    end
{'fraction_non_alphanumeric': 0.09509803921568627, 'fraction_numerical': 0.0, 'mean_word_length': 3.308016877637131, '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': '2620252', 'n_tokens_mistral': 324, 'n_tokens_neox': 301, 'n_words': 97}