require_relative "my_solution"

describe "add" do
  it "is defined as a method" do
    expect(defined?(add)).to eq 'method'
  end

  it "adds two numbers" do
    expect(add(2,3)).to eq(5)
  end
end

describe "subtract" do
  it "is defined as a method" do
    expect(defined?(subtract)).to eq 'method'
  end

  it "subtracts two numbers" do
    expect(subtract(2,3)).to eq(-1)
  end
end

describe "multiply" do
  it "is defined as a method" do
    expect(defined?(multiply)).to eq 'method'
  end

  it "multiplies two numbers" do
    expect(multiply(2,3)).to eq(6)
  end
end

describe "divide" do
  it "is defined as a method" do
    expect(defined?(divide)).to eq 'method'
  end

  it "divides two numbers" do
    expect(divide(10,2)).to eq(5.0)
  end
end
Add rspec file for challenge 4.3 release 4
Add rspec file for challenge 4.3 release 4
