hexlet-codebattle/codebattle

View on GitHub
services/app/apps/runner/dockers/elixir/check/solution.exs

Summary

Maintainability
Test Coverage
defmodule Solution do
  def solution(numerator, denominator, _string, _float, _bool, _hash, _list_str, _list_list_str) do
    res = numerator / denominator

    IO.puts("output-test")

    res
  rescue
    e ->
      IO.puts("don't do it" <> "  " <> e.message)
      raise "AAAAAAAAA"
  end
end