Last active
March 12, 2018 17:55
-
-
Save adolfont/56c7bbcc1ff884dc66d7b110f990aab1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # No arquivo de código | |
| defmodule CaixaEletronico do | |
| def saque(_,_), do: nil | |
| end | |
| # No arquivo de testes | |
| defmodule CaixaeletronicoTest do | |
| use ExUnit.Case | |
| doctest CaixaEletronico | |
| test "greets the world" do | |
| assert CaixaEletronico.saque(288,[100,50,20,10,5,2,1])==[{100,2},{50,1},{20,1},{10,1},{5,1},{2,1},{1,1}] | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment