defmodule Operations do
  def sum(a, b) do
    a + b
  end

  def sub(a, b) do
    a - b
  end

  def mult(a, b), do: a * b
  def mult(0, b), do: 0
  def mult(a, 0), do: 0

  def div(0, b), do: 0
  def div(a, 0) do
    raise ArgumentError, message: "can't divide by zero"
  end
  def div(a, b), do: a / b

end

defmodule Operations do
  def sum(a, b) do
    a + b
  end

  def sub(a, b) do
    a - b
  end

  def mult(a, b) do
    a * b
  end

  def div(0, b), do: 0
  def div(a, 0) do
    raise ArgumentError, message: "can't divide by zero"
  end
  def div(a, b), do: a / b

end

Remove two unecessary function definition
Remove two unecessary function definition

brunoskonrad/ci-tests-elixir,paulodiovani/ci-tests-elixir