Add a test for hexidecimal parsing

This commit is contained in:
Mahmut Surekci
2016-05-24 19:43:00 +01:00
parent 1f9d6a07cc
commit 9baecdf031
2 changed files with 5 additions and 0 deletions

View File

@@ -34,4 +34,8 @@ defmodule Integers do
assert string_digit == ___
end
koan "The meaning of life in hexidecimal is 2A!" do
assert Integer.parse("2A", 16) == {___, ""}
end
end