Add a test for hexidecimal parsing
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user