require_relative '../lib/morse_code_two.rb'

describe "Example from description" do
  it "put your tests here, it's great practice!" do
    expect(decodeBits('1100110011001100000011000000111111001100111111001111110000000000000011001111110011111100111111000000110011001111110000001111110011001100000011')).to eq('.... . -.--   .--- ..- -.. .')
  end  
end

describe "Example from description" do
  it "decode" do
    expect(decodeMorse(decodeBits('1100110011001100000011000000111111001100111111001111110000000000000011001111110011111100111111000000110011001111110000001111110011001100000011'))).to eq('HEY JUDE')
  end
end
